Skip to content

Commit c1399fe

Browse files
author
duke
committed
Automatic merge of jdk:master into master
2 parents 4d6f068 + a38dd53 commit c1399fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/share/gc/shenandoah/shenandoahReferenceProcessor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ template <typename T>
265265
bool ShenandoahReferenceProcessor::should_discover(oop reference, ReferenceType type) const {
266266
T* referent_addr = (T*) java_lang_ref_Reference::referent_addr_raw(reference);
267267
T heap_oop = RawAccess<>::oop_load(referent_addr);
268-
oop referent = CompressedOops::decode_not_null(heap_oop);
268+
oop referent = CompressedOops::decode(heap_oop);
269269

270270
if (is_inactive<T>(reference, referent, type)) {
271271
log_trace(gc,ref)("Reference inactive: " PTR_FORMAT, p2i(reference));

0 commit comments

Comments
 (0)