[8u] RFR: 8221355: Performance regression after JDK-8155635 backport into 8u

Aleksey Shipilev shade at redhat.com
Wed Apr 10 12:55:29 UTC 2019


On 4/10/19 2:42 PM, Severin Gehwolf wrote:
> Is there a reason to keep unused local variable 'can_access_non_heap'
> around in JDK 8? It makes sense for the JDK 9 change as its being used
> further down in the same function:
> http://hg.openjdk.java.net/jdk-updates/jdk9u/hotspot/file/22d7a88dbe78/src/share/vm/opto/library_call.cpp#l2493
> 
> That's not the case for JDK 8u, though. Thoughts?

Right. I don't think there is a reason to keep the can_access_non_heap.

> The left over comment is misleading, though, which I've now removed:
> http://cr.openjdk.java.net/~sgehwolf/webrevs/JDK-8221355/02/webrev/

...but now I am confused how that patch is supposed to work. It seems to me it accepts the accesses
to off-heap when object passed it is actually null, but not transparently-null for the compiler?
That is probably acceptable, but maybe someone savvy in this code can take a look? Vladimir I, Roland?

-- 
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.java.net/pipermail/hotspot-compiler-dev/attachments/20190410/a87965b7/signature.asc>


More information about the hotspot-compiler-dev mailing list