changeset 57794:9ee010450e84

8230401: ClassLoaderData::_keep_alive is read with wrong type in c2i entry barrier Reviewed-by: zgu, tschatzl, iklam
author eosterlund
date Wed, 04 Sep 2019 15:05:03 +0200
parents dee322336e17
children cf8164854fda
files src/hotspot/share/classfile/classLoaderData.hpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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.