Tests in vmTestbase/nsk are failing due to missing class unloading after 8373945

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P3
    • None
    • Affects Version/s: 27
    • Component/s: hotspot

      In the test run that included the change from JDK-8373945 the test failed with:WARNING::Class couldn't be unloaded

      Test: vmTestbase/nsk/jvmti/scenarios/events/EM02/em02t003/TestDescription.java

      ----------System.out:(38/2179)----------
      [1:57:25.376] debuggee> ClassLoading:: Tested class was successfully loaded.
      [1:57:25.383] debuggee> MethodCompiling:: Provoke compiling.
      [1:57:25.389] debuggee> MethodCompiling:: Provoke unloading compiled method -
      trying to unload class...
      [1:57:25.414] debuggee> ClassLoading:: Tested class was successfully unloaded.
      [1:57:25.414] debuggee>

      [1:57:25.415] debuggee> ClassLoading:: Tested class was successfully loaded.
      [1:57:25.415] debuggee> MethodCompiling:: Provoke compiling.
      [1:57:25.421] debuggee> MethodCompiling:: Provoke unloading compiled method -
      trying to unload class...
      [1:57:25.428] # ERROR: debuggee> WARNING::Class couldn't be unloaded
      The following stacktrace is for failure analysis.
      nsk.share.TestFailure: debuggee> WARNING::Class couldn't be unloaded
      at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:309)
      at nsk.share.Log.complain(Log.java:280)
      at nsk.share.Log$Logger.complain(Log.java:546)
      at nsk.jvmti.scenarios.events.EM02.em02t003.runIt(em02t003.java:113)
      at nsk.jvmti.scenarios.events.EM02.em02t003.run(em02t003.java:48)
      at nsk.jvmti.scenarios.events.EM02.em02t003.main(em02t003.java:43)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1516)
      [1:57:25.435] debuggee>

      [1:57:25.436] debuggee> ClassLoading:: Tested class was successfully loaded.
      [1:57:25.436] debuggee> MethodCompiling:: Provoke compiling.
      [1:57:25.441] debuggee> MethodCompiling:: Provoke unloading compiled method -
      trying to unload class...
      [1:57:25.448] # ERROR: debuggee> WARNING::Class couldn't be unloaded
      [1:57:25.448] debuggee>

      Other tests also failed - see comments

            Assignee:
            Unassigned
            Reporter:
            David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h