JDK-8237111 : LingeredApp should be started with getTestJavaOpts
  • Type: Bug
  • Component: core-svc
  • Sub-Component: tools
  • Affected Version: 15
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-01-14
  • Updated: 2020-02-04
  • Resolved: 2020-01-24
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 15
15 b08Fixed
Related Reports
Relates :  
Relates :  
Description
rather than getVmOptions because these may not pass VM options in mach5 configurations.  getTestJavaOpts() will pass VM and Java options.

hotspot/jtreg/resourcehogs/serviceability/sa/TestHeapDumpForLargeArray.java:            vmArgs.addAll(Utils.getVmOptions());
hotspot/jtreg/serviceability/sa/JhsdbThreadInfoTest.java:            app = LingeredApp.startApp(Utils.getVmOptions());
hotspot/jtreg/serviceability/sa/TestClhsdbJstackLock.java:            List<String> vmArgs = new ArrayList<String>(Utils.getVmOptions());
hotspot/jtreg/serviceability/sa/TestJhsdbJstackLock.java:            List<String> vmArgs = new ArrayList<String>(Utils.getVmOptions());
hotspot/jtreg/serviceability/sa/TestJhsdbJstackMixed.java:            List<String> vmArgs = new ArrayList<String>(Utils.getVmOptions());
hotspot/jtreg/serviceability/sa/TestType.java:            List<String> vmArgs = new ArrayList<String>(Utils.getVmOptions());
hotspot/jtreg/serviceability/sa/DeadlockDetectionTest.java:            vmArgs.addAll(Utils.getVmOptions());
hotspot/jtreg/serviceability/sa/TestIntConstant.java:            List<String> vmArgs = new ArrayList<String>(Utils.getVmOptions());
hotspot/jtreg/serviceability/sa/TestPrintMdo.java:            vmArgs.addAll(Utils.getVmOptions());
hotspot/jtreg/serviceability/sa/TestDefaultMethods.java:                vmArgs.addAll(Utils.getVmOptions());
hotspot/jtreg/serviceability/sa/TestG1HeapRegion.java:                vmArgs.addAll(Utils.getVmOptions());
hotspot/jtreg/serviceability/sa/ClhsdbFlags.java:            vmArgs.addAll(Utils.getVmOptions());
hotspot/jtreg/serviceability/sa/ClhsdbFlags.java:            vmArgs.addAll(Utils.getVmOptions());
hotspot/jtreg/serviceability/sa/TestCpoolForInvokeDynamic.java:                vmArgs.addAll(Utils.getVmOptions());
hotspot/jtreg/serviceability/sa/TestRevPtrsForInvokeDynamic.java:                vmArgs.addAll(Utils.getVmOptions());
hotspot/jtreg/serviceability/sa/ClhsdbJhisto.java:            vmArgs.addAll(Utils.getVmOptions());
hotspot/jtreg/serviceability/sa/TestHeapDumpForInvokeDynamic.java:            vmArgs.addAll(Utils.getVmOptions());
jdk/sun/tools/jstack/DeadlockDetectionTest.java:            vmArgs.addAll(Utils.getVmOptions());
jdk/sun/tools/jhsdb/heapconfig/JMapHeapConfigTest.java:        List<String> jvmOptions = Utils.getVmOptions();
jdk/sun/tools/jhsdb/heapconfig/JMapHeapConfigTest.java:        cmd.addAll(Utils.getVmOptions());
jdk/sun/jvmstat/monitor/MonitoredVm/TestPollingInterval.java:            vmArgs.addAll(Utils.getVmOptions());
jdk/sun/management/jmxremote/bootstrap/RmiRegistrySslTest.java:            command.addAll(Utils.getVmOptions());
jdk/sun/management/jmxremote/bootstrap/LocalManagementTest.java:        args.addAll(Utils.getVmOptions());
jdk/sun/management/jmxremote/bootstrap/AbstractFilePermissionTest.java:            command.addAll(jdk.test.lib.Utils.getVmOpti
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/8180290b2faa User: stefank Date: 2020-01-24 09:32:15 +0000
24-01-2020

getVmOptions(), VM_OPTIONS and TEST_VM_OPTS and associated support should be removed and we should use getTestJavaOpts/JAVA_OPTIONS/TEST_JAVA_OPTS instead.
16-01-2020

See discussion in JDK-8236917
14-01-2020