[URGENT] RFR (XS) 8223583: Build failure after JDK-8223567 (Rename ShenandoahBrooksPointer to ShenandoahForwarding)

Roman Kennke rkennke at redhat.com
Wed May 8 19:31:56 UTC 2019


Ok. Goes under emergency-fix & triviality. :-)

Roman

> 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
> 


More information about the shenandoah-dev mailing list