RFR: 8252505: C1/C2 compiler support for blackholes [v24]
Andrew Haley
aph at redhat.com
Tue Dec 8 12:21:04 UTC 2020
On 08/12/2020 10:42, Thomas Wuerthinger wrote:
>> I don't think the OpenJDK project has a responsibility to justify
>> its implementation details to other projects which try to emulate
>> its behaviour.
> My understanding as a member of the OpenJDK community was that a
> GitHub PR like this is the appropriate place to engage in
> collaborative discussions. Let me know if this kind of engagement is
> undesirable.
I hope that Volker will forgive me if I've misinterpreted him, but I
don't think that it's a matter of where this discussion occurs.
OpenJDK has to be able to make its own decisions about its internal
implementation details without regard to other projects which choose
to emulate all of the behaviour of OpenJDK. I think he's right about
this. We can't keep looking over our shoulders to see what projects
who consume some of OpenJDK might be doing.
On the other hand, I believe that blackhole is a useful thing to have
beyond merely JMH. (For example, it may lead to a sane implementation
of Reference.reachabilityFence(). That would be nice.)
--
Andrew Haley (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
More information about the hotspot-dev
mailing list