8230401: ClassLoaderData::_keep_alive is read with wrong type in c2i entry barrier
Reviewed-by: zgu, tschatzl, iklam
--- 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.