hg: jdk9/hs-comp/hotspot: 8054402: "klass->is_loader_alive(_is_alive)) failed: must be alive" for anonymous classes

albert.noll at oracle.com albert.noll at oracle.com
Thu Aug 14 15:51:03 UTC 2014


Changeset: cf3ccda01fa6
Author:    thartmann
Date:      2014-08-14 09:15 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-comp/hotspot/rev/cf3ccda01fa6

8054402: "klass->is_loader_alive(_is_alive)) failed: must be alive" for anonymous classes
Summary: Because anonymous classes are not in the system dictionary, we have to set 'unloading_occurred' based on 'CLDG::do_unloading()'. Added jtreg test.
Reviewed-by: kvn, coleenp

! src/share/vm/classfile/dictionary.cpp
! src/share/vm/classfile/dictionary.hpp
! src/share/vm/classfile/systemDictionary.cpp
+ test/compiler/classUnloading/anonymousClass/TestAnonymousClassUnloading.java



More information about the jdk9-hs-comp-changes mailing list