[foreign-memaccess+abi] RFR: Prevent maxAlign virtual calls for polluted accesses [v2]

Radoslaw Smogura duke at openjdk.org
Wed Aug 17 05:20:38 UTC 2022


On Tue, 16 Aug 2022 19:26:46 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

>> Adding annotation for this could be useful for profiling other methods too. I'll try to find some time and prepare some draft.
>> 
>> One thing I see that adding such annotation could consume one bit here (still there will be 5 spare): 
>> https://github.com/openjdk/jdk/blob/master/src/hotspot/share/oops/method.hpp#L98
>
> Ok. I think it may be better to propose the more focused fix to JDK 20, and then use that PR as the opportunity to ask the question to the HotSpot devs whether they think an annotation would be useful before diving in.

So you are suggesting to create PR with annotations and ask on hotspot-dev what they think about it?

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

PR: https://git.openjdk.org/panama-foreign/pull/700


More information about the panama-dev mailing list