Mercurial > hg > graal-compiler
comparison src/share/vm/utilities/globalDefinitions.hpp @ 5749:12706c5b39bc
minor C1/C2 bugfix
author | Christian Haeubl <haeubl@ssw.jku.at> |
---|---|
date | Tue, 03 Jul 2012 18:02:03 +0200 |
parents | 33df1aeaebbf |
children | 957c266d8bc5 |
comparison
equal
deleted
inserted
replaced
5748:63f0719bde9a | 5749:12706c5b39bc |
---|---|
104 | 104 |
105 // In fact this should be | 105 // In fact this should be |
106 // log2_intptr(sizeof(class JavaThread)) - log2_intptr(64); | 106 // log2_intptr(sizeof(class JavaThread)) - log2_intptr(64); |
107 // see os::set_memory_serialize_page() | 107 // see os::set_memory_serialize_page() |
108 #ifdef _LP64 | 108 #ifdef _LP64 |
109 const int SerializePageShiftCount = 5; | 109 const int SerializePageShiftCount = GRAAL_ONLY(5) NOT_GRAAL(4); |
110 #else | 110 #else |
111 const int SerializePageShiftCount = 4; | 111 const int SerializePageShiftCount = GRAAL_ONLY(4) NOT_GRAAL(3); |
112 #endif | 112 #endif |
113 | 113 |
114 // An opaque struct of heap-word width, so that HeapWord* can be a generic | 114 // An opaque struct of heap-word width, so that HeapWord* can be a generic |
115 // pointer into the heap. We require that object sizes be measured in | 115 // pointer into the heap. We require that object sizes be measured in |
116 // units of heap words, so that that | 116 // units of heap words, so that that |