JDK-8055657 : Test compiler/classUnloading/methodUnloading/TestMethodUnloading.java does not work with non-default GC
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 8u40,9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-08-20
  • Updated: 2017-08-14
  • Resolved: 2014-08-25
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 8 JDK 9
8u40Fixed 9 b30Fixed
Related Reports
Relates :  
Description
Test compiler/classUnloading/methodUnloading/TestMethodUnloading.java pass -XX:+UseParallelGC to JVM, so the test doesn't work with any other GCs:

Conflicting collector combinations in option list; please refer to the release notes for the combinations allowed
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Comments
URL: http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/3ce2966392ef User: lana Date: 2014-09-10 19:06:15 +0000
10-09-2014

URL: http://hg.openjdk.java.net/jdk9/hs-comp/hotspot/rev/3ce2966392ef User: thartmann Date: 2014-08-25 08:36:46 +0000
25-08-2014

I think -XX:+UseParallelGC flag could be eliminated, because it will be used by default when no other UseSomeGC flags were specified.
20-08-2014