Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8177551

[TESTBUG] TestHumongousClassLoader.java can fail on systems with non-g1 collector.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 10
    • 10
    • hotspot
    • gc
    • b21

    Description

      gc/g1/humongousObjects/TestHumongousClassLoader executes gc.g1.humongousObjects.ClassLoaderGenerator without specifying the GC:
       
       * @run main/othervm/timeout=240 -Xms256M -Xmx256M -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:.
       * gc.g1.humongousObjects.ClassLoaderGenerator 1

      However ClassLoaderGenerator instantiate G1SampleClass which has G1 specific WhiteBox method. It may cause to failure on system with non-g1 collector. Need to add -XX:+UseG1GC.

      Attachments

        Issue Links

          Activity

            People

              mchernov Michail Chernov
              mchernov Michail Chernov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: