Mercurial > hg > truffle
comparison src/share/vm/memory/genRemSet.cpp @ 14909:4ca6dc0799b6
Backout jdk9 merge
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Tue, 01 Apr 2014 13:57:07 +0200 |
parents | 284953caf7aa |
children | 89152779163c |
comparison
equal
deleted
inserted
replaced
14908:8db6e76cb658 | 14909:4ca6dc0799b6 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2001, 2012, 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. |
29 | 29 |
30 // This kind of "BarrierSet" allows a "CollectedHeap" to detect and | 30 // This kind of "BarrierSet" allows a "CollectedHeap" to detect and |
31 // enumerate ref fields that have been modified (since the last | 31 // enumerate ref fields that have been modified (since the last |
32 // enumeration.) | 32 // enumeration.) |
33 | 33 |
34 uintx GenRemSet::max_alignment_constraint() { | 34 uintx GenRemSet::max_alignment_constraint(Name nm) { |
35 assert(nm == GenRemSet::CardTable, "Unrecognized GenRemSet type."); | |
35 return CardTableRS::ct_max_alignment_constraint(); | 36 return CardTableRS::ct_max_alignment_constraint(); |
36 } | 37 } |
37 | 38 |
38 class HasAccumulatedModifiedOopsClosure : public KlassClosure { | 39 class HasAccumulatedModifiedOopsClosure : public KlassClosure { |
39 bool _found; | 40 bool _found; |