mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8256999: Add C2 intrinsic for Reference.refersTo and PhantomReference::refersTo
Reviewed-by: pliden, vlivanov, rkennke, eosterlund, shade
This commit is contained in:
parent
c5d95071df
commit
816e8f83b8
20 changed files with 320 additions and 134 deletions
|
@ -359,6 +359,7 @@ public abstract class Reference<T> {
|
|||
|
||||
/* Implementation of refersTo(), overridden for phantom references.
|
||||
*/
|
||||
@IntrinsicCandidate
|
||||
native boolean refersTo0(Object o);
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue