mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8293295: Add type check asserts to java_lang_ref_Reference accessors
Reviewed-by: stefank, kbarrett, coleenp
This commit is contained in:
parent
e945619ddd
commit
32f4dc8403
2 changed files with 14 additions and 0 deletions
|
@ -988,6 +988,8 @@ class java_lang_ref_Reference: AllStatic {
|
|||
static bool is_referent_field(oop obj, ptrdiff_t offset);
|
||||
static inline bool is_final(oop ref);
|
||||
static inline bool is_phantom(oop ref);
|
||||
static inline bool is_weak(oop ref);
|
||||
static inline bool is_soft(oop ref);
|
||||
|
||||
static int referent_offset() { CHECK_INIT(_referent_offset); }
|
||||
static int queue_offset() { CHECK_INIT(_queue_offset); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue