8188055: (ref) Add Reference::refersTo predicate

Reviewed-by: mchung, pliden, rriggs, dholmes, ihse, smarks, alanb
This commit is contained in:
Kim Barrett 2020-11-04 09:18:23 +00:00
parent ab9192e463
commit 6023f6b1bf
13 changed files with 501 additions and 13 deletions

View file

@ -904,8 +904,9 @@ class java_lang_ref_Reference: AllStatic {
public:
// Accessors
static inline oop referent(oop ref);
static inline void set_referent(oop ref, oop value);
static inline oop weak_referent_no_keepalive(oop ref);
static inline oop phantom_referent_no_keepalive(oop ref);
static inline oop unknown_referent_no_keepalive(oop ref);
static inline void set_referent_raw(oop ref, oop value);
static inline HeapWord* referent_addr_raw(oop ref);
static inline oop next(oop ref);