8230401: ClassLoaderData::_keep_alive is read with wrong type in c2i entry barrier

Reviewed-by: zgu, tschatzl, iklam
This commit is contained in:
Erik Österlund 2019-09-04 15:05:03 +02:00
parent b0e727124f
commit ea436110f6

View file

@ -124,7 +124,7 @@ class ClassLoaderData : public CHeapObj<mtClass> {
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.