7017008: G1: Turn on compressed oops by default.

Wed, 09 Feb 2011 09:43:02 -0800

author
johnc
date
Wed, 09 Feb 2011 09:43:02 -0800
changeset 2535
59e20a452a2a
parent 2534
e5383553fd4e
child 2536
183658a2d0b3

7017008: G1: Turn on compressed oops by default.
Summary: Normally compressed oops is enabled when the maximum heap size is under a certain limit, except when G1 is also enabled. Remove this limitation. Also re-enable GCBasher testing with G1 on 64 bit windows in jprt.
Reviewed-by: jcoomes, brutisso, tonyp

make/jprt.properties file | annotate | diff | comparison | revisions
src/share/vm/runtime/arguments.cpp file | annotate | diff | comparison | revisions
     1.1 --- a/make/jprt.properties	Tue Feb 08 12:33:19 2011 +0100
     1.2 +++ b/make/jprt.properties	Wed Feb 09 09:43:02 2011 -0800
     1.3 @@ -1,5 +1,5 @@
     1.4  #
     1.5 -# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
     1.6 +# Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved.
     1.7  # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8  #
     1.9  # This code is free software; you can redistribute it and/or modify it
    1.10 @@ -357,6 +357,7 @@
    1.11      ${jprt.my.windows.x64}-{product|fastdebug}-c2-GCBasher_ParallelGC, \
    1.12      ${jprt.my.windows.x64}-{product|fastdebug}-c2-GCBasher_ParNewGC, \
    1.13      ${jprt.my.windows.x64}-{product|fastdebug}-c2-GCBasher_CMS, \
    1.14 +    ${jprt.my.windows.x64}-{product|fastdebug}-c2-GCBasher_G1, \
    1.15      ${jprt.my.windows.x64}-{product|fastdebug}-c2-GCBasher_ParOldGC, \
    1.16      ${jprt.my.windows.x64}-{product|fastdebug}-c2-GCOld_default, \
    1.17      ${jprt.my.windows.x64}-{product|fastdebug}-c2-GCOld_SerialGC, \
     2.1 --- a/src/share/vm/runtime/arguments.cpp	Tue Feb 08 12:33:19 2011 +0100
     2.2 +++ b/src/share/vm/runtime/arguments.cpp	Wed Feb 09 09:43:02 2011 -0800
     2.3 @@ -1410,7 +1410,7 @@
     2.4    // by ergonomics.
     2.5    if (MaxHeapSize <= max_heap_for_compressed_oops()) {
     2.6  #if !defined(COMPILER1) || defined(TIERED)
     2.7 -    if (FLAG_IS_DEFAULT(UseCompressedOops) && !UseG1GC) {
     2.8 +    if (FLAG_IS_DEFAULT(UseCompressedOops)) {
     2.9        FLAG_SET_ERGO(bool, UseCompressedOops, true);
    2.10      }
    2.11  #endif

mercurial