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
|
@ -295,13 +295,7 @@ class Generation: public CHeapObj {
|
|||
//
|
||||
// The "obj_size" argument is just obj->size(), passed along so the caller can
|
||||
// avoid repeating the virtual call to retrieve it.
|
||||
//
|
||||
// The "ref" argument, if non-NULL, is the address of some reference to "obj"
|
||||
// (that is "*ref == obj"); some generations may use this information to, for
|
||||
// example, influence placement decisions.
|
||||
//
|
||||
// The default implementation ignores "ref" and calls allocate().
|
||||
virtual oop promote(oop obj, size_t obj_size, oop* ref);
|
||||
virtual oop promote(oop obj, size_t obj_size);
|
||||
|
||||
// Thread "thread_num" (0 <= i < ParalleGCThreads) wants to promote
|
||||
// object "obj", whose original mark word was "m", and whose size is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue