# HG changeset patch # User Andrew John Hughes # Date 1378224647 -3600 # Node ID ec88ef4eca2587bf0953b3edbfef22872461a549 # Parent c8b86d52aabcd1b2591366e8891a6bbc796c2a01 S7022999: Can't build with FORCE_TIERED=0. 2013-04-26 Andrew John Hughes * Makefile.am: (ICEDTEA_PATCHES): Add new backport. * NEWS: Updated. * patches/hotspot/original/7022999-fastlocking_compiler1_only.patch: Backport fix to make Zero build work following 6840152. diff -r c8b86d52aabc -r ec88ef4eca25 ChangeLog --- a/ChangeLog Tue Sep 03 15:52:04 2013 +0100 +++ b/ChangeLog Tue Sep 03 17:10:47 2013 +0100 @@ -1,3 +1,12 @@ +2013-04-26 Andrew John Hughes + + * Makefile.am: + (ICEDTEA_PATCHES): Add new backport. + * NEWS: Updated. + * patches/hotspot/original/7022999-fastlocking_compiler1_only.patch: + Backport fix to make Zero build work following + 6840152. + 2013-03-26 Andrew John Hughes * Makefile.am: diff -r c8b86d52aabc -r ec88ef4eca25 Makefile.am --- a/Makefile.am Tue Sep 03 15:52:04 2013 +0100 +++ b/Makefile.am Tue Sep 03 17:10:47 2013 +0100 @@ -652,7 +652,8 @@ patches/openjdk/7198570-tzdata2012f.patch \ patches/openjdk/8002225-tzdata2012i.patch \ patches/openjdk/8009987-tzdata2013b.patch \ - patches/openjdk/6840152-jvm_crashes_with_heavyweight_monitors.patch + patches/openjdk/6840152-jvm_crashes_with_heavyweight_monitors.patch \ + patches/openjdk/7022999-fastlocking_compiler1_only.patch if WITH_RHINO ICEDTEA_PATCHES += \ diff -r c8b86d52aabc -r ec88ef4eca25 NEWS --- a/NEWS Tue Sep 03 15:52:04 2013 +0100 +++ b/NEWS Tue Sep 03 17:10:47 2013 +0100 @@ -13,6 +13,10 @@ New in release 1.11.13 (2013-XX-XX): +* Backports + - S6840152: JVM crashes when heavyweight monitors are used + - S7022999: Can't build with FORCE_TIERED=0 + New in release 1.11.12 (2013-07-10): * Security fixes diff -r c8b86d52aabc -r ec88ef4eca25 patches/openjdk/7022999-fastlocking_compiler1_only.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/openjdk/7022999-fastlocking_compiler1_only.patch Tue Sep 03 17:10:47 2013 +0100 @@ -0,0 +1,25 @@ +# HG changeset patch +# User coleenp +# Date 1299199896 18000 +# Node ID 9f44e9aad2d9528c6a7c59f29be7974685d6b629 +# Parent a3c0ec0428a2564a70a33a0348553e9d4c994c63 +7022999: Can't build with FORCE_TIERED=0 +Summary: Put UseFastLocking test under #ifdef COMPILER1 +Reviewed-by: kvn, phh, never, dcubed + +diff --git a/src/share/vm/runtime/arguments.cpp b/src/share/vm/runtime/arguments.cpp +--- openjdk/hotspot/src/share/vm/runtime/arguments.cpp ++++ openjdk/hotspot/src/share/vm/runtime/arguments.cpp +@@ -3114,7 +3114,11 @@ + // Turn off biased locking for locking debug mode flags, + // which are subtlely different from each other but neither works with + // biased locking. +- if (!UseFastLocking || UseHeavyMonitors) { ++ if (UseHeavyMonitors ++#ifdef COMPILER1 ++ || !UseFastLocking ++#endif // COMPILER1 ++ ) { + if (!FLAG_IS_DEFAULT(UseBiasedLocking) && UseBiasedLocking) { + // flag set to true on command line; warn the user that they + // can't enable biased locking here