diff options
author | coleenp <none@none> | 2008-04-13 17:43:42 -0400 |
---|---|---|
committer | coleenp <none@none> | 2008-04-13 17:43:42 -0400 |
commit | 10ccf1a80915ef4ed623d4d62e582bcc190a1990 (patch) | |
tree | 3ef8c64ec2efcfbeec6e46f6a3775a60c122e5df /src/share/vm/opto/superword.cpp | |
parent | 32e3fd6141baa47eee388d7f95b5e715a2ea2d9a (diff) | |
download | jdk8u_hotspot-10ccf1a80915ef4ed623d4d62e582bcc190a1990.tar.gz |
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
Summary: Compressed oops in instances, arrays, and headers. Code contributors are coleenp, phh, never, swamyv
Reviewed-by: jmasa, kamg, acorn, tbell, kvn, rasbold
Diffstat (limited to 'src/share/vm/opto/superword.cpp')
-rw-r--r-- | src/share/vm/opto/superword.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/share/vm/opto/superword.cpp b/src/share/vm/opto/superword.cpp index b9b8a98bb..5e3a7bb70 100644 --- a/src/share/vm/opto/superword.cpp +++ b/src/share/vm/opto/superword.cpp @@ -1424,6 +1424,7 @@ int SuperWord::memory_alignment(MemNode* s, int iv_adjust_in_bytes) { //---------------------------container_type--------------------------- // Smallest type containing range of values const Type* SuperWord::container_type(const Type* t) { + if (t->isa_narrowoop()) t = t->is_narrowoop()->make_oopptr(); if (t->isa_aryptr()) { t = t->is_aryptr()->elem(); } |