src/share/vm/memory/cardTableModRefBS.hpp

changeset 3642
c7a555a9449a
parent 3297
ea640b5e949a
child 3687
fd09f2d8283e
     1.1 --- a/src/share/vm/memory/cardTableModRefBS.hpp	Tue Mar 13 21:12:53 2012 +0100
     1.2 +++ b/src/share/vm/memory/cardTableModRefBS.hpp	Wed Mar 14 12:49:27 2012 +0100
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2000, 2012, 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 @@ -72,6 +72,9 @@
    1.11      CT_MR_BS_last_reserved      = 16
    1.12    };
    1.13  
    1.14 +  // a word's worth (row) of clean card values
    1.15 +  static const intptr_t clean_card_row = (intptr_t)(-1);
    1.16 +
    1.17    // dirty and precleaned are equivalent wrt younger_refs_iter.
    1.18    static bool card_is_dirty_wrt_gen_iter(jbyte cv) {
    1.19      return cv == dirty_card || cv == precleaned_card;

mercurial