mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +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
|
@ -171,7 +171,7 @@ bool Generation::promotion_attempt_is_safe(size_t promotion_in_bytes,
|
|||
}
|
||||
|
||||
// Ignores "ref" and calls allocate().
|
||||
oop Generation::promote(oop obj, size_t obj_size, oop* ref) {
|
||||
oop Generation::promote(oop obj, size_t obj_size) {
|
||||
assert(obj_size == (size_t)obj->size(), "bad obj_size passed in");
|
||||
|
||||
#ifndef PRODUCT
|
||||
|
@ -186,7 +186,7 @@ oop Generation::promote(oop obj, size_t obj_size, oop* ref) {
|
|||
return oop(result);
|
||||
} else {
|
||||
GenCollectedHeap* gch = GenCollectedHeap::heap();
|
||||
return gch->handle_failed_promotion(this, obj, obj_size, ref);
|
||||
return gch->handle_failed_promotion(this, obj, obj_size);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue