hotspot/src/share/vm/gc_implementation/parallelScavenge/cardTableExtension.hpp
changeset 28830 a252e278c3d9
parent 27687 3a6367d7110b
child 29325 0e86e64c66e5
equal deleted inserted replaced
28718:6bb984acf342 28830:a252e278c3d9
     1 /*
     1 /*
     2  * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    52     youngergen_card   = CardTableModRefBS::CT_MR_BS_last_reserved + 1,
    52     youngergen_card   = CardTableModRefBS::CT_MR_BS_last_reserved + 1,
    53     verify_card       = CardTableModRefBS::CT_MR_BS_last_reserved + 5
    53     verify_card       = CardTableModRefBS::CT_MR_BS_last_reserved + 5
    54   };
    54   };
    55 
    55 
    56   CardTableExtension(MemRegion whole_heap) :
    56   CardTableExtension(MemRegion whole_heap) :
    57     CardTableModRefBS(whole_heap) { }
    57     CardTableModRefBS(whole_heap, BarrierSet::CardTableModRef) { }
    58 
    58 
    59   // Too risky for the 4/10/02 putback
    59   // Too risky for the 4/10/02 putback
    60   // BarrierSet::Name kind() { return BarrierSet::CardTableExtension; }
    60   // BarrierSet::Name kind() { return BarrierSet::CardTableExtension; }
    61 
    61 
    62   // Scavenge support
    62   // Scavenge support