[aarch64-port-dev ] RFR: initial patches for merge up to jdk8-b117

Andrew McDermott andrew.mcdermott at linaro.org
Fri Dec 13 05:06:58 PST 2013


You can find the initial patches for the merge to b117 here:

  http://people.linaro.org/~andrew.mcdermott/openjdk8-aarch64-port-merge-to-b117/

I've put them on a web page because they amount to 17MB uncompressed.

For convenience there is also a tarball with all the patches included:

  http://people.linaro.org/~andrew.mcdermott/openjdk8-aarch64-port-merge-to-b117.tar.xz

Please note: there is no patch for adapting the aarch64-port hotspot
tree to the equivalent changes in hotspot for x86 (and sparc) -- that is
still to be done.  I would appreciate a review of these changes before I
start to look what needs to be done there.  I've tested x86 builds of
the aarch64-port and jdk8 (@b117) trees to get a comparison of what's
different, et al.  Details are below.

However, I did ran into problems with some of the jtreg tests using all
the available memory on my machine (32GB). That, combined with only a
100MB swap file, caused my machine to hang hard quite a few times over
the last two days and the reboots required most of my file systems to be
fsck'd, which took quite some time as there is ~4TB spread across 5
disks.  I'll run the tests again and report back which tests I believe
are using/requesting a lot of memory but right now I wanted to get these
patches out for review.

All of my testing has been with the jtreg tests in .../hotspot/test.

Using jdk8-b117 as the baseline, overall results are as follows:

 jdk8-b117:

  linux-x86_64-normal-client-slowdebug --- passed: 402; failed: 8; error: 1
  linux-x86_64-normal-client-fastdebug --- passed: 401; failed: 9; error: 1
  linux-x86_64-normal-client-release   --- passed: 403; failed: 7; error: 1

  linux-x86_64-normal-server-slowdebug --- passed: 402; failed: 6; error: 3
  linux-x86_64-normal-server-fastdebug --- passed: 403; failed: 7; error: 1
  linux-x86_64-normal-server-release   --- passed: 404; failed: 6; error: 1

 aarch64-port:

  linux-x86_64-normal-client-slowdebug --- passed: 402; failed: 6; error: 3
  linux-x86_64-normal-client-fastdebug --- passed: 402; failed: 8; error: 1
  linux-x86_64-normal-client-release   --- passed: 405; failed: 5; error: 1

  linux-x86_64-normal-server-slowdebug --- passed: 401; failed: 7; error: 3
  linux-x86_64-normal-server-fastdebug --- passed: 402; failed: 8; error: 1
  linux-x86_64-normal-server-release   --- passed: 405; failed: 5; error: 1

Breaking out and identifying the failures/errors we have:

 jdk8-b117:

  linux-x86_64-normal-client-slowdebug --- passed: 402; failed: 8; error: 1
    compiler/7141637/SpreadNullArg.java
    compiler/ciReplay/TestSA.sh
    compiler/jsr292/ConcurrentClassLoadingTest.java
    compiler/regalloc/C1ObjectSpillInLogicOp.java
    runtime/ClassFile/OomWhileParsingRepeatedJsr.java
    runtime/CompressedOops/CompressedClassPointers.java
    runtime/SharedArchiveFile/CdsDifferentObjectAlignment.java
    runtime/SharedArchiveFile/CdsSameObjectAlignment.java
    runtime/SharedArchiveFile/SharedArchiveFile.java

  linux-x86_64-normal-client-fastdebug --- passed: 401; failed: 9; error: 1
    compiler/7141637/SpreadNullArg.java
    compiler/ciReplay/TestSA.sh
    compiler/jsr292/ConcurrentClassLoadingTest.java
    compiler/regalloc/C1ObjectSpillInLogicOp.java
    runtime/ClassFile/OomWhileParsingRepeatedJsr.java
    runtime/CompressedOops/CompressedClassPointers.java
    runtime/memory/RunUnitTestsConcurrently.java
    runtime/SharedArchiveFile/CdsDifferentObjectAlignment.java
    runtime/SharedArchiveFile/CdsSameObjectAlignment.java
    runtime/SharedArchiveFile/SharedArchiveFile.java

  linux-x86_64-normal-client-release   --- passed: 403; failed: 7; error: 1
    compiler/7141637/SpreadNullArg.java
    compiler/jsr292/ConcurrentClassLoadingTest.java
    compiler/regalloc/C1ObjectSpillInLogicOp.java
    runtime/ClassFile/OomWhileParsingRepeatedJsr.java
    runtime/CompressedOops/CompressedClassPointers.java
    runtime/SharedArchiveFile/CdsDifferentObjectAlignment.java
    runtime/SharedArchiveFile/CdsSameObjectAlignment.java
    runtime/SharedArchiveFile/SharedArchiveFile.java

  linux-x86_64-normal-server-slowdebug --- passed: 402; failed: 6; error: 3
    compiler/6792161/Test6792161.java
    compiler/7141637/SpreadNullArg.java
    compiler/jsr292/ConcurrentClassLoadingTest.java
    compiler/regalloc/C1ObjectSpillInLogicOp.java
    runtime/ClassFile/JsrRewriting.java
    runtime/ClassFile/OomWhileParsingRepeatedJsr.java
    runtime/RedefineObject/TestRedefineObject.java
    runtime/SharedArchiveFile/CdsDifferentObjectAlignment.java
    runtime/SharedArchiveFile/CdsSameObjectAlignment.java

  linux-x86_64-normal-server-fastdebug --- passed: 403; failed: 7; error: 1
    compiler/7141637/SpreadNullArg.java
    compiler/jsr292/ConcurrentClassLoadingTest.java
    compiler/regalloc/C1ObjectSpillInLogicOp.java
    runtime/ClassFile/JsrRewriting.java
    runtime/ClassFile/OomWhileParsingRepeatedJsr.java
    runtime/memory/RunUnitTestsConcurrently.java
    runtime/SharedArchiveFile/CdsDifferentObjectAlignment.java
    runtime/SharedArchiveFile/CdsSameObjectAlignment.java

  linux-x86_64-normal-server-release   --- passed: 404; failed: 6; error: 1
    compiler/7141637/SpreadNullArg.java
    compiler/jsr292/ConcurrentClassLoadingTest.java
    compiler/regalloc/C1ObjectSpillInLogicOp.java
    gc/g1/TestHumongousAllocInitialMark.java
    runtime/ClassFile/OomWhileParsingRepeatedJsr.java
    runtime/SharedArchiveFile/CdsDifferentObjectAlignment.java
    runtime/SharedArchiveFile/CdsSameObjectAlignment.java

 aarch64-port-b117:

  linux-x86_64-normal-client-slowdebug --- passed: 402; failed: 6; error: 3
    compiler/6792161/Test6792161.java
    compiler/7141637/SpreadNullArg.java
    compiler/ciReplay/TestSA.sh
    compiler/jsr292/ConcurrentClassLoadingTest.java
    compiler/regalloc/C1ObjectSpillInLogicOp.java
    runtime/ClassFile/JsrRewriting.java
    runtime/RedefineObject/TestRedefineObject.java
    runtime/SharedArchiveFile/CdsDifferentObjectAlignment.java
    runtime/SharedArchiveFile/CdsSameObjectAlignment.java

  linux-x86_64-normal-client-fastdebug --- passed: 402; failed: 8; error: 1
    compiler/7141637/SpreadNullArg.java
    compiler/ciReplay/TestSA.sh
    compiler/jsr292/ConcurrentClassLoadingTest.java
    compiler/regalloc/C1ObjectSpillInLogicOp.java
    runtime/ClassFile/JsrRewriting.java
    runtime/ClassFile/OomWhileParsingRepeatedJsr.java
    runtime/memory/RunUnitTestsConcurrently.java
    runtime/SharedArchiveFile/CdsDifferentObjectAlignment.java
    runtime/SharedArchiveFile/CdsSameObjectAlignment.java

  linux-x86_64-normal-client-release   --- passed: 405; failed: 5; error: 1
    compiler/7141637/SpreadNullArg.java
    compiler/jsr292/ConcurrentClassLoadingTest.java
    compiler/regalloc/C1ObjectSpillInLogicOp.java
    runtime/ClassFile/OomWhileParsingRepeatedJsr.java
    runtime/SharedArchiveFile/CdsDifferentObjectAlignment.java
    runtime/SharedArchiveFile/CdsSameObjectAlignment.java

  linux-x86_64-normal-server-slowdebug --- passed: 401; failed: 7; error: 3
    compiler/6792161/Test6792161.java
    compiler/7141637/SpreadNullArg.java
    compiler/ciReplay/TestSA.sh
    compiler/jsr292/ConcurrentClassLoadingTest.java
    compiler/regalloc/C1ObjectSpillInLogicOp.java
    runtime/ClassFile/JsrRewriting.java
    runtime/ClassFile/OomWhileParsingRepeatedJsr.java
    runtime/RedefineObject/TestRedefineObject.java
    runtime/SharedArchiveFile/CdsDifferentObjectAlignment.java
    runtime/SharedArchiveFile/CdsSameObjectAlignment.java

  linux-x86_64-normal-server-fastdebug --- passed: 402; failed: 8; error: 1
    compiler/7141637/SpreadNullArg.java
    compiler/ciReplay/TestSA.sh
    compiler/jsr292/ConcurrentClassLoadingTest.java
    compiler/regalloc/C1ObjectSpillInLogicOp.java
    runtime/ClassFile/JsrRewriting.java
    runtime/ClassFile/OomWhileParsingRepeatedJsr.java
    runtime/memory/RunUnitTestsConcurrently.java
    runtime/SharedArchiveFile/CdsDifferentObjectAlignment.java
    runtime/SharedArchiveFile/CdsSameObjectAlignment.java

  linux-x86_64-normal-server-release   --- passed: 405; failed: 5; error: 1
    compiler/7141637/SpreadNullArg.java
    compiler/jsr292/ConcurrentClassLoadingTest.java
    compiler/regalloc/C1ObjectSpillInLogicOp.java
    runtime/ClassFile/OomWhileParsingRepeatedJsr.java
    runtime/SharedArchiveFile/CdsDifferentObjectAlignment.java
    runtime/SharedArchiveFile/CdsSameObjectAlignment.java

I'm really not sure whether this format makes the comparisons
particularly easy to digest... suggestions welcome.

The jtreg invocation is like this, substituting -client/-server
depending on what's being tested:

  $ jtreg \
     -vmoption:-client \
     -conc:4 \
     -v1 \
     -a \
     -compilejdk:/usr/lib/jvm/java-8-oracle \
     -retain:none \
     -jdk:/aarch64-port-b117/build/linux-x86_64-normal-clientANDserver-client/images/j2sdk-image

Running `java -version' on a subset of the respective builds yields:

  $ ./aarch64-port-b117/build/linux-x86_64-normal-clientANDserver-release/images/j2sdk-image/bin/java -server -version
  openjdk version "1.8.0-internal"
  OpenJDK Runtime Environment (build 1.8.0-internal-aim_2013_12_13_10_12-b00)
  OpenJDK 64-Bit Server VM (build 25.0-b59, mixed mode)

  $ ./jdk8-b117/build/linux-x86_64-normal-server-release/images/j2sdk-image/bin/java -version
  openjdk version "1.8.0-internal"
  OpenJDK Runtime Environment (build 1.8.0-internal-aim_2013_12_11_10_46-b00)
  OpenJDK 64-Bit Server VM (build 25.0-b59, mixed mode)

--
andy



More information about the aarch64-port-dev mailing list