[aarch64-port-dev ] Fwd: Compact strings enablement - JTreg runs
Stuart Monteith
stuart.monteith at linaro.org
Thu Jul 7 15:58:43 UTC 2016
Looking more closely, the errors are:
0: JTwork-compactoff pass: 5,840; fail: 1,793; error: 21; not run: 331
1: JTwork-compacton pass: 5,836; fail: 1,793; error: 25; not run: 331
0 1 Test
fail pass com/sun/jdi/InterruptHangTest.java
JavaTest Message: Test threw exception: java.lang.Exception:
InterruptHangTest: failed
fail pass java/awt/Graphics2D/DrawString/DrawStringCrash.java
test result: Failed. Execution failed: `main' threw exception:
java.lang.OutOfMemoryError
fail pass java/util/zip/EntryCount64k.java
execStatus=Failed. Execution failed\: `main' threw exception\:
java.lang.RuntimeException\: '\\A\\Z' missing from stderr
error pass java/util/ResourceBundle/modules/visibility/visibility.sh
result: Error. Program `sh' timed out (timeout set to 360000ms,
elapsed time was 360002ms).
pass error java/awt/Dialog/CloseDialog/CloseDialogTest.java
timeout set to 360000ms, elapsed time was 383628ms
pass error java/lang/instrument/PremainClass/NoPremainAgentTest.java
timeout elapsed at - 390241ms - elapsed time was 360000ms
pass fail
java/rmi/activation/Activatable/restartCrashedService/RestartCrashedService.java
Port is already in use. (57889)
Activation.main: an exception occurred:
java.rmi.server.ExportException: Port already in use: 57889; nested
exception is:
java.net.BindException: Address already in use
java.rmi.server.ExportException: Port already in use: 57889;
nested exception is:
java.net.BindException: Address already in use
pass fail
java/rmi/server/RMISocketFactory/useSocketFactory/unicast/UseCustomSocketFactory.java
pass fail java/util/concurrent/tck/JSR166TestCase.java
java.lang.Exception: JUnit test failure
Multiple issues with "ForkJoin common pool thread stuck"
pass error
java/util/stream/boottest/java.base/java/util/stream/SpinedBufferTest.java
timeout set to 360000ms, elapsed time was 371469ms
pass error sun/security/provider/SecureRandom/StrongSecureRandom.java
result: Error. unexpected exit code from javac: 137
pass error tools/launcher/ArgFileSyntax.java
timeout set to 360000ms, elapsed time was 376080ms
There were timeouts, etc. I tried rerunning the failing tests again,
and with compact strings on and off, I inconsistently get:
Passed: sun/security/provider/SecureRandom/StrongSecureRandom.java
Passed: java/awt/Dialog/CloseDialog/CloseDialogTest.java
Passed: java/lang/instrument/PremainClass/NoPremainAgentTest.java
Passed: java/rmi/server/RMISocketFactory/useSocketFactory/unicast/UseCustomSocketFactory.java
Passed: java/rmi/activation/Activatable/restartCrashedService/RestartCrashedService.java
FAILED: java/util/concurrent/tck/JSR166TestCase.java
Passed: tools/launcher/ArgFileSyntax.java
Passed: java/util/stream/boottest/java.base/java/util/stream/SpinedBufferTest.java
Test results: passed: 7; failed: 1
The JSR166TestCase.java fails with:
JavaTest Message: JUnit Failure: testInvokeAll1(ForkJoinTaskTest):
ExecutorService java.util.concurrent.ForkJoinPool at 234bf9ce[Shutting
down, parallelism = 48, size = 20, active = 1, running = 0, steals =
23, tasks = 0, submissions = 0] did not terminate in a timely manner
On another run JSR166 simply times out completely, and in another is
passed fine. An intermittent failure of a concurrency test - worrying?
The failures I find are not /obviously/ affected by CompactStrings.
Regards,
Stuart
On 7 July 2016 at 11:50, Stuart Monteith <stuart.monteith at linaro.org> wrote:
> 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