< prev index next >

src/share/vm/gc_implementation/g1/g1PageBasedVirtualSpace.cpp

Print this page
rev 7854 : 8058354: SPECjvm2008-Derby -2.7% performance regression on Solaris-X64 starting with 9-b29
Summary: Allow partial use of large pages for auxiliary data structures in G1.
Reviewed-by:
rev 7855 : imported patch 8058354-jon-fixes
rev 7856 : imported patch 8058354-fix-roundto-error

*** 70,80 **** _executable = rs.executable(); _commit_size = commit_size; assert(_committed.size() == 0, "virtual space initialized more than once"); ! BitMap::idx_t size_in_commit_pages = round_to(rs.size(), commit_size); _committed.resize(size_in_commit_pages, /* in_resource_area */ false); if (_special) { _dirty.resize(size_in_commit_pages, /* in_resource_area */ false); } --- 70,80 ---- _executable = rs.executable(); _commit_size = commit_size; assert(_committed.size() == 0, "virtual space initialized more than once"); ! BitMap::idx_t size_in_commit_pages = round_to(rs.size(), commit_size) / commit_size; _committed.resize(size_in_commit_pages, /* in_resource_area */ false); if (_special) { _dirty.resize(size_in_commit_pages, /* in_resource_area */ false); }
< prev index next >