Package com.google.caliper.config.VmConfig

Examples of com.google.caliper.config.VmConfig.Builder


  /**
   * Returns the configuration of the current host JVM (including the flags used to create it). Any
   * args specified using {@code vm.args} will also be applied
   */
  public VmConfig getDefaultVmConfig() {
    return new Builder(new File(System.getProperty("java.home")))
        .addAllOptions(Collections2.filter(ManagementFactory.getRuntimeMXBean().getInputArguments(),
            new Predicate<String>() {
              @Override public boolean apply(@Nullable String input) {
                // Exclude the -agentlib:jdwp param which configures the socket debugging protocol.
                // If this is set in the parent VM we do not want it to be inherited by the child
View Full Code Here

TOP

Related Classes of com.google.caliper.config.VmConfig.Builder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.