mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
Compressed oops in instances, arrays, and headers. Code contributors are coleenp, phh, never, swamyv Reviewed-by: jmasa, kamg, acorn, tbell, kvn, rasbold
This commit is contained in:
parent
680ecf1611
commit
4a831d45f0
273 changed files with 6585 additions and 2993 deletions
|
@ -180,10 +180,13 @@ class Universe: AllStatic {
|
|||
|
||||
// The particular choice of collected heap.
|
||||
static CollectedHeap* _collectedHeap;
|
||||
// Base address for oop-within-java-object materialization.
|
||||
// NULL if using wide oops. Doubles as heap oop null value.
|
||||
static address _heap_base;
|
||||
|
||||
// array of dummy objects used with +FullGCAlot
|
||||
debug_only(static objArrayOop _fullgc_alot_dummy_array;)
|
||||
// index of next entry to clear
|
||||
// index of next entry to clear
|
||||
debug_only(static int _fullgc_alot_dummy_next;)
|
||||
|
||||
// Compiler/dispatch support
|
||||
|
@ -323,6 +326,10 @@ class Universe: AllStatic {
|
|||
// The particular choice of collected heap.
|
||||
static CollectedHeap* heap() { return _collectedHeap; }
|
||||
|
||||
// For UseCompressedOops
|
||||
static address heap_base() { return _heap_base; }
|
||||
static address* heap_base_addr() { return &_heap_base; }
|
||||
|
||||
// Historic gc information
|
||||
static size_t get_heap_capacity_at_last_gc() { return _heap_capacity_at_last_gc; }
|
||||
static size_t get_heap_free_at_last_gc() { return _heap_capacity_at_last_gc - _heap_used_at_last_gc; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue