Mercurial > hg > truffle
comparison src/share/vm/ci/ciObjectFactory.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 | a61af66fc99e |
children | d1605aabd0a1 |
comparison
equal
deleted
inserted
replaced
110:a49a647afe9a | 113:ba764ed4b6f2 |
---|---|
119 | 119 |
120 _ci_objects = new (_arena) GrowableArray<ciObject*>(_arena, 64, 0, NULL); | 120 _ci_objects = new (_arena) GrowableArray<ciObject*>(_arena, 64, 0, NULL); |
121 | 121 |
122 for (int i = T_BOOLEAN; i <= T_CONFLICT; i++) { | 122 for (int i = T_BOOLEAN; i <= T_CONFLICT; i++) { |
123 BasicType t = (BasicType)i; | 123 BasicType t = (BasicType)i; |
124 if (type2name(t) != NULL && t != T_OBJECT && t != T_ARRAY) { | 124 if (type2name(t) != NULL && t != T_OBJECT && t != T_ARRAY && t != T_NARROWOOP) { |
125 ciType::_basic_types[t] = new (_arena) ciType(t); | 125 ciType::_basic_types[t] = new (_arena) ciType(t); |
126 init_ident_of(ciType::_basic_types[t]); | 126 init_ident_of(ciType::_basic_types[t]); |
127 } | 127 } |
128 } | 128 } |
129 | 129 |