[URGENT] RFR (XS) 8223583: Build failure after JDK-8223567 (Rename ShenandoahBrooksPointer to ShenandoahForwarding)
Aleksey Shipilev
shade at redhat.com
Wed May 8 19:30:25 UTC 2019
Bug:
https://bugs.openjdk.java.net/browse/JDK-8223583
This is a merge blunder: the code below was added recently, and Roman probably missed this when
pushing to jdk/jdk.
Fix:
diff -r 6ccc7cd7931e src/hotspot/share/gc/shenandoah/shenandoahVerifier.cpp
--- a/src/hotspot/share/gc/shenandoah/shenandoahVerifier.cpp Wed May 08 11:56:19 2019 -0700
+++ b/src/hotspot/share/gc/shenandoah/shenandoahVerifier.cpp Wed May 08 21:27:49 2019 +0200
@@ -925,11 +925,11 @@
template <class T>
void do_oop_work(T* p) {
T o = RawAccess<>::oop_load(p);
if (!CompressedOops::is_null(o)) {
oop obj = CompressedOops::decode_not_null(o);
- oop fwd = (oop) ShenandoahBrooksPointer::get_raw_unchecked(obj);
+ oop fwd = (oop) ShenandoahForwarding::get_forwardee_raw_unchecked(obj);
if (!oopDesc::equals_raw(obj, fwd)) {
ShenandoahAsserts::print_failure(ShenandoahAsserts::_safe_all, obj, p, NULL,
"Verify Roots", "Should not be forwarded", __FILE__,
__LINE__);
}
}
Testing: Linux x86_64 build
--
Thanks,
-Aleksey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20190508/b0191ddc/signature.asc>
More information about the hotspot-gc-dev
mailing list