RFR(S): 8010770 : Zero: back port of 8000780 to HS24 broke JSR 292

David Chase david.r.chase at oracle.com
Mon Apr 22 04:26:04 PDT 2013


It's CallSiteTest.java that requires most of the extra time -- 5x was insufficient, 20x was adequate.
This was on a Mac.

My build script (looks a lot like yours):

SEVEN=/Library/Java/JavaVirtualMachines/jdk1.7.0_13.jdk/Contents/Home
export ALT_BOOTDIR=${SEVEN}
export ALT_JDK_IMPORT_PATH=/Users/dr2chase/work/8010770/built/macosx-x86_64/j2sdk-image
export JVM_VARIANT_ZERO=true
export ZERO_BUILD=true
export ZERO_LIBARCH=amd64
export ZERO_ENDIANNESS=little
export ZERO_ARCHDEF=AMD64
export ZERO_ARCHFLAG=-m64
export LIBFFI_CFLAGS="-I/usr/include/ffi"
export LIBFFI_LIBS="-lffi"
export ARCH_DATA_MODEL=64
export LP64=1
export DEBUG_BINARIES=true
export SHARK_BUILD=false
export OPENJDK=true
make "$@"

> ALT_BOOTDIR=/share/software/Java/jdk1.7.0 ALT_OUTPUTDIR=../../output_64_zero_opt ARCH_DATA_MODEL=64 ZERO_BUILD=true ZERO_LIBARCH=amd64 ZERO_ARCHDEF=AMD64 ZERO_ENDIANNESS=little LIBFFI_LIBS=-lffi DEBUG_BINARIES=true JVM_VARIANT_ZERO=true make productzero


Builds would flake out testing with gamma, probably because of pilot error, but who knows?

cd bsd_amd64_zero/product && ./test_gamma
Using java runtime at: /Library/Java/JavaVirtualMachines/jdk1.7.0_13.jdk/Contents/Home/jre
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
make[2]: *** [productzero] Error 1
make[1]: *** [generic_buildzero] Error 2
make: *** [productzero] Error 2

On 2013-04-22, at 4:31 AM, Volker Simonis <volker.simonis at gmail.com> wrote:
> 
> JT_JAVA=/tmp/j2sdk-image_for_zero /share/software/Java/jtreg/linux/bin/jtreg -J-Djunit.jar=/share/software/Java/junit4.5/junit-4.5.jar -jdk:/tmp/j2sdk-image_for_zero -dir:/usr/work/OpenJDK/ppc-aix-port/jdk7u/jdk/test -reportDir:/tmp/jtreg/JTreport -workDir:/tmp/jtreg/JTwork -timeoutFactor:100 java/lang/invoke
> 
> Note that the big 'timeoutFactor' is necessary in order to pass all tests.



More information about the hotspot-compiler-dev mailing list