[foreign-memaccess+abi] RFR: 8257692: Using both heap and native segments can degrade performance [v2]
Jorn Vernee
jvernee at openjdk.java.net
Fri Dec 11 16:31:04 UTC 2020
On Fri, 11 Dec 2020 16:25:28 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:
>> Maurizio Cimadamore has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Revert spurious change
>
> Glad you all managed to resolve this.
>
> It would be nice to mark the classes that have special profiling characteristics, otherwise it's easy to forgot or be unaware of the implications. Perhaps comments on each are sufficient. An annotation would be nice but is more work.
@PaulSandoz FWIW, I also looked into using an annotation to drive the profiling, instead of the special casing based on the name, but the problem is that we can't see the annotations of an unresolved method, so would have to resolve everything in the interpreter just to check for annotations. The current mechanism is solely based on the symbolic reference found in the caller's bytecode.
-------------
PR: https://git.openjdk.java.net/panama-foreign/pull/413
More information about the panama-dev
mailing list