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

runtime/logging/ClassLoadUnloadTest.java doesn't reliably trigger class unloading

XMLWordPrintable

    • b14

        runtime/logging/ClassLoadUnloadTest.java doesn't trigger unloading of test.Empty class.

        The test accidentally pass due to an unrelated class being unloaded:

        $ java ... -Xlog:class+unload=info ... ClassLoadUnloadTest\$ClassUnloadTestMain
        [0.113s][info][class,unload] unloading class java.lang.invoke.LambdaForm$MH/0x000007c001002000 0x000007c001002000

              matsaave Matias Saavedra Silva
              vlivanov Vladimir Ivanov
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: