[aarch64-port-dev ] Fwd: Compact strings enablement - JTreg runs

Stuart Monteith stuart.monteith at linaro.org
Thu Jul 7 10:50:53 UTC 2016


Hi,
    I've put the relevant files here:

          http://people.linaro.org/~stuart.monteith/CompactStrings/has_neg_bench.tar.gz

In order to bypass String allocation, I've introduced a helper to call
has negatives directly. You should move the following file:
     java-benchmark/java/java/lang/HasNegativesHelper.java
to the current directory, such that you have:
   mod/java/lang/HasNegativesHelper.java
   mod/java/lang/HasNegativesHelper.class

And then run jmh with "-Xpatch":

java -Xpatch:java.base=mod -jar benchmarks.jar HasNegativesBench -rf
csv -rff out.csv


Best regards,
    Stuart


---------- Forwarded message ----------
From: Edward Nevill <edward.nevill at gmail.com>
Date: 7 July 2016 at 11:22
Subject: Re: [aarch64-port-dev ] Fwd: Compact strings enablement - JTreg runs
To: Stuart Monteith <stuart.monteith at linaro.org>
Cc: aarch64-port-dev at openjdk.java.net


On Thu, 2016-07-07 at 10:13 +0100, Stuart Monteith wrote:
> Of course, here it is:
>     http://people.linaro.org/~stuart.monteith/CompactStrings/javaNeg-
> A.svg
>

OK. I assume the x axis is the length of the string and the Y axis is
time (so lower is better).

What is the test case and do you have a patch?

Regards,
Ed.


More information about the aarch64-port-dev mailing list