mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8188055: (ref) Add Reference::refersTo predicate
Reviewed-by: mchung, pliden, rriggs, dholmes, ihse, smarks, alanb
This commit is contained in:
parent
ab9192e463
commit
6023f6b1bf
13 changed files with 501 additions and 13 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue