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

Per Minborg pminborg at openjdk.org
Wed Aug 16 14:39:32 UTC 2023


On Tue, 15 Aug 2023 15:26:19 GMT, Jorn Vernee <jvernee 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.

Updating the .gmk made the trick. Thanks.

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

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


More information about the panama-dev mailing list