[aarch64-port-dev ] RFR: merge up to jdk8-b111

Andrew McDermott andrew.mcdermott at linaro.org
Thu Dec 5 07:04:09 PST 2013


Andrew Haley <aph at redhat.com> writes:

> On 12/04/2013 07:12 PM, Andrew McDermott wrote:
>>
>> Andrew Haley <aph at redhat.com> writes:
>>
>>> On 12/03/2013 07:14 AM, Andrew McDermott wrote:
>>>> Some of the errors are tests timing out. It appears that some tests are
>>>> leaving spinning JVM processes which exacerbates the problem. I haven't
>>>> looked into why this is.
>>>
>>> Are these regressions?
>>
>> I don't believe so.  The spinning processes are coming from the
>> `forever' loop in os::abort() which is not reachable for `release'
>> builds.
>
> Right, so this is a catastrophic failure.
>
>> NOTE: these invocations still had the `forever' code enabled, hence the
>> errors.
>
> No, the errors are not due to the `forever' code.  They are due to
> the abort that triggered it.  The idea is that you are supposed to
> attach a debugger and find out why.
>
> If you give me precise reproducer instructions I can have a look.

# Using jtreg from:
# http://www.java.net/download/openjdk/jtreg/promoted/4.1/b05/jtreg-4.1-bin-b05_29_nov_2012.zip

$ PATH=/home/aim/jtreg-bin/linux/bin:$PATH

$ ~/tip-linux-aarch64-client-release/j2sdk-image/bin/java -version
openjdk version "1.8.0-internal"
OpenJDK Runtime Environment (build 1.8.0-internal-aim_2013_12_03_15_17-b00)
OpenJDK 64-Bit Client VM (build 25.0-b52, mixed mode)

$ jtreg -version
jtreg, version 4.1 fcs b05
Installed in /home/aim/jtreg-bin/lib/jtreg.jar
Running on platform version 1.8.0-internal from /usr/lib/jvm/java-8-openjdk/jre.
Built with Java(TM) 2 SDK, Version 1.5.0-b64 on November 29, 2012.
Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved.
Use is subject to license terms.
TestNG: version 6.7-201209281340

These are the failing tests from a run against 'hotspot':

$ ls -l
drwxr-xr-x   4 aim aim 4096 Dec  4 19:54 JTreport-client-release-tip
drwxr-xr-x  11 aim aim 4096 Dec  4 19:54 JTwork-client-release-tip

$ egrep '[^ ]+[ ]+(Failed|Error)\.' JTreport-client-release-tip/text/summary.txt  | awk '{print $1}' | sort
compiler/7116216/StackOverflow.java
compiler/8010927/Test8010927.java
gc/metaspace/TestPerfCountersAndMemoryPools.java
runtime/7107135/Test7107135.sh
runtime/NMT/PrintNMTStatistics.java
runtime/SharedArchiveFile/CdsDifferentObjectAlignment.java
runtime/SharedArchiveFile/CdsSameObjectAlignment.java
runtime/SharedArchiveFile/SharedArchiveFile.java
runtime/jsig/Test8017498.sh
runtime/memory/ReserveMemory.java
serviceability/attach/AttachWithStalePidFile.java

Running these failing tests again, ensuring we get a core dump.

$ ulimit -c unlimited

$ rm -rf JTwork JTreport

$ jtreg -v1 -a -ignore:quiet -retain:all				\
  -agentvm -conc:4 -J-client						\
  -vmoption:-client							\
  -jdk:/home/aim/tip-linux-aarch64-client-release/j2sdk-image		\
  -w:JTwork								\
  -r:JTreport								\
  compiler/7116216/StackOverflow.java					\
  compiler/8010927/Test8010927.java					\
  gc/metaspace/TestPerfCountersAndMemoryPools.java			\
  runtime/7107135/Test7107135.sh runtime/NMT/PrintNMTStatistics.java	\
  runtime/SharedArchiveFile/CdsDifferentObjectAlignment.java		\
  runtime/SharedArchiveFile/CdsSameObjectAlignment.java			\
  runtime/SharedArchiveFile/SharedArchiveFile.java			\
  runtime/jsig/Test8017498.sh runtime/memory/ReserveMemory.java		\
  serviceability/attach/AttachWithStalePidFile.java

I've omitted the output because I want to highlight those tests that
produce a core dump.

$ find JTwork -name hs_err\*.log
JTwork/runtime/7107135/Test7107135/hs_err_pid12022.log
JTwork/compiler/8010927/Test8010927/hs_err_pid12098.log
JTwork/compiler/7116216/StackOverflow/hs_err_pid12086.log

Individual reproducers:

$ rm -rf JTwork JTreport

$ jtreg -va -J-client -vmoption:-client				\
  -jdk:/home/aim/tip-linux-aarch64-client-release/j2sdk-image	\
  -w:JTwork -r:JTreport						\
  runtime/7107135/Test7107135.sh

$ rm -rf JTwork JTreport

$ jtreg -va -J-client -vmoption:-client				\
  -jdk:/home/aim/tip-linux-aarch64-client-release/j2sdk-image	\
  -w:JTwork -r:JTreport						\
  compiler/8010927/Test8010927.java

$ rm -rf JTwork JTreport

$ jtreg -va -J-client -vmoption:-client				\
  -jdk:/home/aim/tip-linux-aarch64-client-release/j2sdk-image	\
  -w:JTwork -r:JTreport						\
  compiler/7116216/StackOverflow.java

Please let me know if you want the output from my hs_err* logs.

HTH

--
andy



More information about the aarch64-port-dev mailing list