mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8199739: Use HeapAccess when loading oops from static fields in javaClasses.cpp
Reviewed-by: kbarrett, eosterlund
This commit is contained in:
parent
383a921aac
commit
d4d5ea316b
4 changed files with 17 additions and 31 deletions
|
@ -1070,7 +1070,7 @@ public:
|
|||
|
||||
int itable_offset_in_words() const { return start_of_itable() - (intptr_t*)this; }
|
||||
|
||||
address static_field_addr(int offset);
|
||||
oop static_field_base_raw() { return java_mirror(); }
|
||||
|
||||
OopMapBlock* start_of_nonstatic_oop_maps() const {
|
||||
return (OopMapBlock*)(start_of_itable() + itable_length());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue