Difference between [jdk20] Thread.ensureMaterializedForStackWalk and Blackhole.
shami
shami.thoke at gmail.com
Mon Jan 29 08:15:25 UTC 2024
Hello,
I am trying to understand the JDK20 intrinsic -
Thread.ensureMaterializedForStackWalk (
https://github.com/openjdk/jdk/pull/10952/files).
It seems to be functionally equivalent to the *Blackhole.consume*
intrinsic.
Is there any subtle difference(s) between the two, or can one be
implemented using the other?
Thanks in advance.
Shami.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-compiler-dev/attachments/20240129/125bf102/attachment.htm>
More information about the hotspot-compiler-dev
mailing list