Mercurial > hg > truffle
comparison src/share/vm/opto/superword.cpp @ 113:ba764ed4b6f2
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
author | coleenp |
---|---|
date | Sun, 13 Apr 2008 17:43:42 -0400 |
parents | a7d0f95410bd |
children | d1605aabd0a1 1e026f8da827 |
comparison
equal
deleted
inserted
replaced
110:a49a647afe9a | 113:ba764ed4b6f2 |
---|---|
1422 } | 1422 } |
1423 | 1423 |
1424 //---------------------------container_type--------------------------- | 1424 //---------------------------container_type--------------------------- |
1425 // Smallest type containing range of values | 1425 // Smallest type containing range of values |
1426 const Type* SuperWord::container_type(const Type* t) { | 1426 const Type* SuperWord::container_type(const Type* t) { |
1427 if (t->isa_narrowoop()) t = t->is_narrowoop()->make_oopptr(); | |
1427 if (t->isa_aryptr()) { | 1428 if (t->isa_aryptr()) { |
1428 t = t->is_aryptr()->elem(); | 1429 t = t->is_aryptr()->elem(); |
1429 } | 1430 } |
1430 if (t->basic_type() == T_INT) { | 1431 if (t->basic_type() == T_INT) { |
1431 if (t->higher_equal(TypeInt::BOOL)) return TypeInt::BOOL; | 1432 if (t->higher_equal(TypeInt::BOOL)) return TypeInt::BOOL; |