# HG changeset patch # User Christos Kotselidis # Date 1374601875 -7200 # Node ID 6457dc4227e3d71a2dd534721a8b02d7d45bc842 # Parent 5404cde63c4389daa25857be7962fd365acb435a Add compressed klass pointers in gate diff -r 5404cde63c43 -r 6457dc4227e3 src/share/vm/runtime/arguments.cpp --- a/src/share/vm/runtime/arguments.cpp Tue Jul 23 17:48:01 2013 +0200 +++ b/src/share/vm/runtime/arguments.cpp Tue Jul 23 19:51:15 2013 +0200 @@ -1,5 +1,4 @@ /* - * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -2206,16 +2205,6 @@ #endif } #ifdef GRAAL - if (UseCompressedKlassPointers) { - if (IgnoreUnrecognizedVMOptions) { - FLAG_SET_CMDLINE(bool, UseCompressedKlassPointers, true); - } else { - status = true; - } - } else { - // This prevents the flag being set to true by set_ergonomics_flags() - FLAG_SET_CMDLINE(bool, UseCompressedKlassPointers, false); - } if (UseG1GC) { if (IgnoreUnrecognizedVMOptions) { warning("UseG1GC is still experimental in Graal, use SerialGC instead "); @@ -2224,10 +2213,10 @@ warning("UseG1GC is still experimental in Graal, use SerialGC instead "); status = true; } - } else { + } else { // This prevents the flag being set to true by set_ergonomics_flags() FLAG_SET_CMDLINE(bool, UseG1GC, false); - } + } if (!ScavengeRootsInCode) { warning("forcing ScavengeRootsInCode non-zero because Graal is enabled");