8222841: Incorrect static call stub interactions with class unloading

Reviewed-by: kvn, coleenp
This commit is contained in:
Erik Österlund 2019-05-14 12:07:24 +02:00
parent cc6cc06183
commit 5dd18ea628
12 changed files with 112 additions and 44 deletions

View file

@ -300,6 +300,10 @@ class ClassLoaderData : public CHeapObj<mtClass> {
ModuleEntryTable* modules();
bool modules_defined() { return (_modules != NULL); }
// Offsets
static ByteSize holder_offset() { return in_ByteSize(offset_of(ClassLoaderData, _holder)); }
static ByteSize keep_alive_offset() { return in_ByteSize(offset_of(ClassLoaderData, _keep_alive)); }
// Loaded class dictionary
Dictionary* dictionary() const { return _dictionary; }