8146694: Break out shared constants and static BOT functions

Reviewed-by: jwilhelm, tbenson
This commit is contained in:
David Lindholm 2016-01-11 09:14:01 +01:00
parent 9760f7ac92
commit b61875dc9b
10 changed files with 134 additions and 149 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2011, 2016, 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
@ -389,7 +389,7 @@ void FreeRegionList_test() {
bot_rs.size(),
os::vm_page_size(),
HeapRegion::GrainBytes,
G1BlockOffsetTable::N_bytes,
BOTConstants::N_bytes,
mtGC);
G1BlockOffsetTable bot(heap, bot_storage);
bot_storage->commit_regions(0, num_regions_in_test);