mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8072911: Remove includes of oop.inline.hpp from .hpp files
Reviewed-by: brutisso, coleenp, jwilhelm, simonis, dholmes
This commit is contained in:
parent
c132a5a0a5
commit
4913ad5d7d
119 changed files with 451 additions and 264 deletions
|
@ -27,7 +27,6 @@
|
|||
|
||||
#include "memory/modRefBarrierSet.hpp"
|
||||
#include "oops/oop.hpp"
|
||||
#include "oops/oop.inline2.hpp"
|
||||
|
||||
// This kind of "BarrierSet" allows a "CollectedHeap" to detect and
|
||||
// enumerate ref fields that have been modified (since the last
|
||||
|
@ -45,6 +44,7 @@ class Generation;
|
|||
class OopsInGenClosure;
|
||||
class DirtyCardToOopClosure;
|
||||
class ClearNoncleanCardWrapper;
|
||||
class CardTableRS;
|
||||
|
||||
class CardTableModRefBS: public ModRefBarrierSet {
|
||||
// Some classes get to look at some private stuff.
|
||||
|
@ -333,15 +333,7 @@ public:
|
|||
|
||||
template <class T> inline void inline_write_ref_field_pre(T* field, oop newVal) {}
|
||||
|
||||
template <class T> inline void inline_write_ref_field(T* field, oop newVal, bool release) {
|
||||
jbyte* byte = byte_for((void*)field);
|
||||
if (release) {
|
||||
// Perform a releasing store if requested.
|
||||
OrderAccess::release_store((volatile jbyte*) byte, dirty_card);
|
||||
} else {
|
||||
*byte = dirty_card;
|
||||
}
|
||||
}
|
||||
template <class T> inline void inline_write_ref_field(T* field, oop newVal, bool release);
|
||||
|
||||
// These are used by G1, when it uses the card table as a temporary data
|
||||
// structure for card claiming.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue