8299072: java_lang_ref_Reference::clear_referent should be GC agnostic

Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Reviewed-by: dholmes, shade, kbarrett
This commit is contained in:
Erik Österlund 2023-01-04 14:49:44 +00:00
parent ccbcea830d
commit c32a34c2e5
5 changed files with 8 additions and 3 deletions

View file

@ -952,6 +952,7 @@ class java_lang_ref_Reference: AllStatic {
static inline oop phantom_referent_no_keepalive(oop ref);
static inline oop unknown_referent_no_keepalive(oop ref);
static inline void clear_referent(oop ref);
static inline void clear_referent_raw(oop ref);
static inline HeapWord* referent_addr_raw(oop ref);
static inline oop next(oop ref);
static inline void set_next(oop ref, oop value);