Mercurial > hg > graal-compiler
comparison src/cpu/sparc/vm/vm_version_sparc.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 | 28372612af5e |
children | d1605aabd0a1 |
comparison
equal
deleted
inserted
replaced
110:a49a647afe9a | 113:ba764ed4b6f2 |
---|---|
62 if (is_niagara1()) { | 62 if (is_niagara1()) { |
63 // Indirect branch is the same cost as direct | 63 // Indirect branch is the same cost as direct |
64 if (FLAG_IS_DEFAULT(UseInlineCaches)) { | 64 if (FLAG_IS_DEFAULT(UseInlineCaches)) { |
65 UseInlineCaches = false; | 65 UseInlineCaches = false; |
66 } | 66 } |
67 #ifdef _LP64 | |
68 // Single issue niagara1 is slower for CompressedOops | |
69 // but niagaras after that it's fine. | |
70 if (!is_niagara1_plus()) { | |
71 if (FLAG_IS_DEFAULT(UseCompressedOops)) { | |
72 FLAG_SET_ERGO(bool, UseCompressedOops, false); | |
73 } | |
74 } | |
75 #endif // _LP64 | |
67 #ifdef COMPILER2 | 76 #ifdef COMPILER2 |
68 // Indirect branch is the same cost as direct | 77 // Indirect branch is the same cost as direct |
69 if (FLAG_IS_DEFAULT(UseJumpTables)) { | 78 if (FLAG_IS_DEFAULT(UseJumpTables)) { |
70 UseJumpTables = true; | 79 UseJumpTables = true; |
71 } | 80 } |