Loading... (original) (raw)
- Type:
Bug
- Resolution: Fixed
- Priority:
P4
- Fix Version/s: 9
- Affects Version/s: 9
G1 is not the default collector on non-server class machines. hotspot/test/gc/arguments/TestSelectDefaultGC.java seems to think it is.
java.lang.RuntimeException: ' UseG1GC .*=.* true ' missing from stdout/stderr
at jdk.test.lib.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:229)
at TestSelectDefaultGC.assertVMOption(TestSelectDefaultGC.java:40)
at TestSelectDefaultGC.main(TestSelectDefaultGC.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:520)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
at java.lang.Thread.run(Thread.java:804)
is blocked by
JDK-8149184 os::is_server_class_machine() could return incorrect result if a host's cpu have a few logical cores
- Resolved
JDK-8149185 os::is_server_class_machine() uses VM_Version::logical_processors_per_package() before the value for threads for core is actually discovered
- Closed