mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 10:04:42 +02:00
8182397: Race in field updates when creating ArrayKlasses can lead to crash
Update array_klass field in component mirror after klass.java_mirror field for concurrent readers in compiled code Reviewed-by: aph, kbarrett
This commit is contained in:
parent
fe6e4eb1e0
commit
fd08aa9cef
5 changed files with 108 additions and 16 deletions
|
@ -204,6 +204,8 @@ class oopDesc {
|
|||
inline Metadata* metadata_field(int offset) const;
|
||||
inline void metadata_field_put(int offset, Metadata* value);
|
||||
|
||||
inline void release_metadata_field_put(int offset, Metadata* value);
|
||||
|
||||
inline jbyte byte_field(int offset) const;
|
||||
inline void byte_field_put(int offset, jbyte contents);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue