mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +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
|
@ -281,8 +281,10 @@ address CodeSection::target(Label& L, address branch_pc) {
|
|||
|
||||
// Need to return a pc, doesn't matter what it is since it will be
|
||||
// replaced during resolution later.
|
||||
// (Don't return NULL or badAddress, since branches shouldn't overflow.)
|
||||
return base;
|
||||
// Don't return NULL or badAddress, since branches shouldn't overflow.
|
||||
// Don't return base either because that could overflow displacements
|
||||
// for shorter branches. It will get checked when bound.
|
||||
return branch_pc;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue