8230401: ClassLoaderData::_keep_alive is read with wrong type in c2i entry barrier
authoreosterlund
Wed, 04 Sep 2019 15:05:03 +0200
changeset 58005 9ee010450e84
parent 58004 dee322336e17
child 58006 cf8164854fda
8230401: ClassLoaderData::_keep_alive is read with wrong type in c2i entry barrier Reviewed-by: zgu, tschatzl, iklam
src/hotspot/share/classfile/classLoaderData.hpp
--- a/src/hotspot/share/classfile/classLoaderData.hpp	Wed Sep 04 14:21:54 2019 +0200
+++ b/src/hotspot/share/classfile/classLoaderData.hpp	Wed Sep 04 15:05:03 2019 +0200
@@ -124,7 +124,7 @@
   bool _modified_oops;             // Card Table Equivalent (YC/CMS support)
   bool _accumulated_modified_oops; // Mod Union Equivalent (CMS support)
 
-  s2 _keep_alive;          // if this CLD is kept alive.
+  int _keep_alive;         // if this CLD is kept alive.
                            // Used for unsafe anonymous classes and the boot class
                            // loader. _keep_alive does not need to be volatile or
                            // atomic since there is one unique CLD per unsafe anonymous class.