Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/concurrentMarkSweep/promotionInfo.hpp @ 6948:e522a00b91aa
Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/ after NPG - C++ build works
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 12 Nov 2012 23:14:12 +0100 |
parents | da91efe96a93 |
children |
comparison
equal
deleted
inserted
replaced
6711:ae13cc658b80 | 6948:e522a00b91aa |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2010, 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. |
168 void stopTrackingPromotions(uint worker_id = 0); | 168 void stopTrackingPromotions(uint worker_id = 0); |
169 bool tracking() const { return _tracking; } | 169 bool tracking() const { return _tracking; } |
170 void track(PromotedObject* trackOop); // keep track of a promoted oop | 170 void track(PromotedObject* trackOop); // keep track of a promoted oop |
171 // The following variant must be used when trackOop is not fully | 171 // The following variant must be used when trackOop is not fully |
172 // initialized and has a NULL klass: | 172 // initialized and has a NULL klass: |
173 void track(PromotedObject* trackOop, klassOop klassOfOop); // keep track of a promoted oop | 173 void track(PromotedObject* trackOop, Klass* klassOfOop); // keep track of a promoted oop |
174 void setSpace(CompactibleFreeListSpace* sp) { _space = sp; } | 174 void setSpace(CompactibleFreeListSpace* sp) { _space = sp; } |
175 CompactibleFreeListSpace* space() const { return _space; } | 175 CompactibleFreeListSpace* space() const { return _space; } |
176 markOop nextDisplacedHeader(); // get next header & forward spool pointer | 176 markOop nextDisplacedHeader(); // get next header & forward spool pointer |
177 void saveDisplacedHeader(markOop hdr); | 177 void saveDisplacedHeader(markOop hdr); |
178 // save header and forward spool | 178 // save header and forward spool |