mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8008511: JSR 292: MemberName vmtarget refs to methods must be updated at class redefinition
Lazily create and maintain the MemberNameTable to be able to update MemberName's Reviewed-by: coleenp, jrose, dholmes
This commit is contained in:
parent
46b3969016
commit
87f3086e13
9 changed files with 231 additions and 58 deletions
|
@ -46,6 +46,7 @@ Mutex* VMStatistic_lock = NULL;
|
|||
Mutex* JNIGlobalHandle_lock = NULL;
|
||||
Mutex* JNIHandleBlockFreeList_lock = NULL;
|
||||
Mutex* JNICachedItableIndex_lock = NULL;
|
||||
Mutex* MemberNameTable_lock = NULL;
|
||||
Mutex* JmethodIdCreation_lock = NULL;
|
||||
Mutex* JfieldIdCreation_lock = NULL;
|
||||
Monitor* JNICritical_lock = NULL;
|
||||
|
@ -252,6 +253,7 @@ void mutex_init() {
|
|||
def(Heap_lock , Monitor, nonleaf+1, false);
|
||||
def(JfieldIdCreation_lock , Mutex , nonleaf+1, true ); // jfieldID, Used in VM_Operation
|
||||
def(JNICachedItableIndex_lock , Mutex , nonleaf+1, false); // Used to cache an itable index during JNI invoke
|
||||
def(MemberNameTable_lock , Mutex , nonleaf+1, false); // Used to protect MemberNameTable
|
||||
|
||||
def(CompiledIC_lock , Mutex , nonleaf+2, false); // locks VtableStubs_lock, InlineCacheBuffer_lock
|
||||
def(CompileTaskAlloc_lock , Mutex , nonleaf+2, true );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue