hg: jdk9/hs/hotspot: 8163406: The fixup_module_list must be protected by Module_lock when inserting new entries

lois.foltan at oracle.com lois.foltan at oracle.com
Mon Sep 19 17:32:23 UTC 2016


Changeset: b48a9e9bfd73
Author:    lfoltan
Date:      2016-09-19 12:04 -0400
URL:       http://hg.openjdk.java.net/jdk9/hs/hotspot/rev/b48a9e9bfd73

8163406: The fixup_module_list must be protected by Module_lock when inserting new entries
Summary: In java_lang_Class::create_mirror, restructure the check for adding a class to the fixup_module_list, guarded by Module_lock.
Reviewed-by: acorn, coleenp, dholmes, zgu

! src/share/vm/classfile/classLoader.cpp
! src/share/vm/classfile/javaClasses.cpp
! src/share/vm/classfile/javaClasses.hpp
! src/share/vm/classfile/moduleEntry.cpp
! src/share/vm/classfile/moduleEntry.hpp
! src/share/vm/classfile/modules.cpp
! src/share/vm/oops/instanceKlass.cpp
! src/share/vm/oops/klass.cpp
! src/share/vm/oops/typeArrayKlass.cpp
! src/share/vm/utilities/hashtable.inline.hpp



More information about the jdk9-hs-changes mailing list