Mercurial > hg > release > icedtea6-1.11
changeset 2923:ec88ef4eca25
S7022999: Can't build with FORCE_TIERED=0.
2013-04-26 Andrew John Hughes <gnu.andrew@redhat.com>
* 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.
author | Andrew John Hughes <gnu.andrew@redhat.com> |
---|---|
date | Tue, 03 Sep 2013 17:10:47 +0100 |
parents | c8b86d52aabc |
children | 1efdc95c9ae0 |
files | ChangeLog Makefile.am NEWS patches/openjdk/7022999-fastlocking_compiler1_only.patch |
diffstat | 4 files changed, 40 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 <gnu.andrew@redhat.com> + + * 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 <gnu.andrew@redhat.com> * 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 += \
--- 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
--- /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