[foreign-memaccess+abi] RFR: Improve strlen performance

Jorn Vernee jvernee at openjdk.org
Tue Aug 15 15:29:25 UTC 2023


On Mon, 14 Aug 2023 09:57:25 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> In the benchmark `InternalStrLen.java` it would be better to `--add-exports=java.base/jdk.internal.foreign=ALL-UNNAMED` and run the real methods. For some reason, that does not work so suggestions are welcome on how to fix that.

What exactly does not work in that case?

Note that you have to modify both the build flags in make/test/BuildMicrobenchmark.gmk, and pass the required --add-exports as extra JVM arguments through the `@Fork` annotation.

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

PR Comment: https://git.openjdk.org/panama-foreign/pull/862#issuecomment-1679127811


More information about the panama-dev mailing list