mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 02:24:40 +02:00
8146694: Break out shared constants and static BOT functions
Reviewed-by: jwilhelm, tbenson
This commit is contained in:
parent
9760f7ac92
commit
b61875dc9b
10 changed files with 134 additions and 149 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue