RFR: Missing oopDesc::equals after the merge
Zhengyu Gu
zgu at redhat.com
Tue Apr 10 18:36:57 UTC 2018
Looks good.
-Zhengyu
On 04/10/2018 02:31 PM, Aleksey Shipilev wrote:
> diff -r eea1ad783a6a src/hotspot/share/classfile/classLoaderData.cpp
> --- a/src/hotspot/share/classfile/classLoaderData.cpp Tue Apr 10 17:38:36 2018 +0200
> +++ b/src/hotspot/share/classfile/classLoaderData.cpp Tue Apr 10 20:24:39 2018 +0200
> @@ -201,7 +201,7 @@
> VerifyContainsOopClosure(oop target) : _target(target), _found(false) {}
>
> void do_oop(oop* p) {
> - if (p != NULL && *p == _target) {
> + if (p != NULL && oopDesc::equals(*p, _target)) {
> _found = true;
> }
> }
>
> Testing: specjvm with oop verification (in progress)
>
> -Aleksey
>
More information about the shenandoah-dev
mailing list