Integrated: 8256999: Add C2 intrinsic for Reference.refersTo and PhantomReference::refersTo

Vladimir Kozlov kvn at openjdk.java.net
Sun Nov 29 20:31:58 UTC 2020


On Wed, 25 Nov 2020 03:31:36 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> JDK-8188055 added the function Reference.refersTo. For performance, the supporting native methods Reference.refersTo0 and PhantomReference.refersTo0 should be intrinsified by C2.
> 
> Initial patch was prepared by @fisk.
> 
> Tested hs-tier1-4. Added new compiler tests to test intrinsics.
> 
> Ran new test with Shenandoah. Found only one issue. As result I disable  PhantomReference::refersTo intrinsic for COOP+ Shenandoah combination. Someone from Shenandoah team have to test changes if that is enough.

This pull request has now been integrated.

Changeset: 816e8f83
Author:    Vladimir Kozlov <kvn at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/816e8f83
Stats:     381 lines in 20 files changed: 248 ins; 62 del; 71 mod

8256999: Add C2 intrinsic for Reference.refersTo and PhantomReference::refersTo

Reviewed-by: pliden, vlivanov, rkennke, eosterlund, shade

-------------

PR: https://git.openjdk.java.net/jdk/pull/1425


More information about the shenandoah-dev mailing list