src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.hpp

changeset 2943
537a4053b0f9
parent 2314
f95d63e2154a
child 3220
c08412904149
     1.1 --- a/src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.hpp	Fri May 20 22:27:48 2011 -0700
     1.2 +++ b/src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.hpp	Mon May 23 16:42:14 2011 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2001, 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 @@ -407,6 +407,11 @@
    1.11    void save_sweep_limit() {
    1.12      _sweep_limit = BlockOffsetArrayUseUnallocatedBlock ?
    1.13                     unallocated_block() : end();
    1.14 +    if (CMSTraceSweeper) {
    1.15 +      gclog_or_tty->print_cr(">>>>> Saving sweep limit " PTR_FORMAT
    1.16 +                             "  for space [" PTR_FORMAT "," PTR_FORMAT ") <<<<<<",
    1.17 +                             _sweep_limit, bottom(), end());
    1.18 +    }
    1.19    }
    1.20    NOT_PRODUCT(
    1.21      void clear_sweep_limit() { _sweep_limit = NULL; }

mercurial