< prev index next >

test/hotspot/jtreg/compiler/c2/aarch64/TestFarJump.java

Print this page
@@ -1,7 +1,7 @@
  /*
-  * Copyright (c) 2022, BELLSOFT. All rights reserved.
+  * Copyright (c) 2024, BELLSOFT. All rights reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.

@@ -87,14 +87,13 @@
              "-XX:-Inline",
              "-Xcomp",
              "-Xbatch",
              "-XX:+TieredCompilation",
              "-XX:+SegmentedCodeCache",
-             "-XX:CompileOnly=" + className + "::main",
              "-XX:ReservedCodeCacheSize=" + (bigCodeHeap ? "256M" : "200M"),
              "-XX:+UnlockDiagnosticVMOptions",
-             "-XX:+PrintAssembly",
+             "-XX:CompileCommand=option," + className + "::main,bool,PrintAssembly,true",
              className};
  
          ProcessBuilder pb = ProcessTools.createLimitedTestJavaProcessBuilder(procArgs);
          OutputAnalyzer output = new OutputAnalyzer(pb.start());
          List<String> lines = output.asLines();
< prev index next >