src/share/vm/gc_implementation/g1/concurrentMark.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/gc_implementation/g1/concurrentMark.cpp Mon May 13 16:34:08 2013
--- new/src/share/vm/gc_implementation/g1/concurrentMark.cpp Mon May 13 16:34:06 2013
*** 112,122 ****
--- 112,124 ----
(_bmWordSize >> (_shifter + LogBitsPerByte)) + 1));
if (!brs.is_reserved()) {
warning("ConcurrentMark marking bit map allocation failure");
return false;
}
! MemTracker::record_virtual_memory_type((address)brs.base(), mtGC);
! NMTTrackOp op(NMTTrackOp::TypeOp);
+ op.execute_op((address)brs.base(), 0, mtGC);
+
// For now we'll just commit all of the bit map up front.
// Later on we'll try to be more parsimonious with swap.
if (!_virtual_space.initialize(brs, brs.size())) {
warning("ConcurrentMark marking bit map backing store failure");
return false;
*** 181,191 ****
--- 183,195 ----
ReservedSpace rs(ReservedSpace::allocation_align_size_up(capacity * sizeof(oop)));
if (!rs.is_reserved()) {
warning("ConcurrentMark MarkStack allocation failure");
return false;
}
! MemTracker::record_virtual_memory_type((address)rs.base(), mtGC);
! NMTTrackOp op(NMTTrackOp::TypeOp);
+ op.execute_op((address)rs.base(), 0, mtGC);
+
if (!_virtual_space.initialize(rs, rs.size())) {
warning("ConcurrentMark MarkStack backing store failure");
// Release the virtual memory reserved for the marking stack
rs.release();
return false;
src/share/vm/gc_implementation/g1/concurrentMark.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File