src/share/vm/gc_implementation/parallelScavenge/objectStartArray.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
hotspot Cdiff src/share/vm/gc_implementation/parallelScavenge/objectStartArray.cpp
src/share/vm/gc_implementation/parallelScavenge/objectStartArray.cpp
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 49,59 ****
// will be used for the heap proper.
ReservedSpace backing_store(bytes_to_reserve);
if (!backing_store.is_reserved()) {
vm_exit_during_initialization("Could not reserve space for ObjectStartArray");
}
! MemTracker::record_virtual_memory_type((address)backing_store.base(), mtGC);
// We do not commit any memory initially
if (!_virtual_space.initialize(backing_store, 0)) {
vm_exit_during_initialization("Could not commit space for ObjectStartArray");
}
--- 49,61 ----
// will be used for the heap proper.
ReservedSpace backing_store(bytes_to_reserve);
if (!backing_store.is_reserved()) {
vm_exit_during_initialization("Could not reserve space for ObjectStartArray");
}
!
! NMTTrackOp op(NMTTrackOp::TypeOp);
! op.execute_op((address)backing_store.base(), 0, mtGC);
// We do not commit any memory initially
if (!_virtual_space.initialize(backing_store, 0)) {
vm_exit_during_initialization("Could not commit space for ObjectStartArray");
}
*** 62,73 ****
if (_raw_base == NULL) {
vm_exit_during_initialization("Could not get raw_base address");
}
! MemTracker::record_virtual_memory_type((address)_raw_base, mtGC);
!
_offset_base = _raw_base - (size_t(reserved_region.start()) >> block_shift);
_covered_region.set_start(reserved_region.start());
_covered_region.set_word_size(0);
--- 64,74 ----
if (_raw_base == NULL) {
vm_exit_during_initialization("Could not get raw_base address");
}
! op.execute_op((address)_raw_base, 0, mtGC);
_offset_base = _raw_base - (size_t(reserved_region.start()) >> block_shift);
_covered_region.set_start(reserved_region.start());
_covered_region.set_word_size(0);
src/share/vm/gc_implementation/parallelScavenge/objectStartArray.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File