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
|
@ -1169,6 +1169,12 @@ intptr_t Node::get_ptr() const {
|
|||
return ((ConPNode*)this)->type()->is_ptr()->get_con();
|
||||
}
|
||||
|
||||
// Get a narrow oop constant from a ConNNode.
|
||||
intptr_t Node::get_narrowcon() const {
|
||||
assert( Opcode() == Op_ConN, "" );
|
||||
return ((ConNNode*)this)->type()->is_narrowoop()->get_con();
|
||||
}
|
||||
|
||||
// Get a long constant from a ConNode.
|
||||
// Return a default value if there is no apparent constant here.
|
||||
const TypeLong* Node::find_long_type() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue