mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8222841: Incorrect static call stub interactions with class unloading
Reviewed-by: kvn, coleenp
This commit is contained in:
parent
cc6cc06183
commit
5dd18ea628
12 changed files with 112 additions and 44 deletions
|
@ -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; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue