Mercurial > hg > graal-jvmci-8
comparison src/share/vm/utilities/globalDefinitions.hpp @ 1261:0414c1049f15
6923991: G1: improve scalability of RSet scanning
Summary: Implemented block-based work stealing. Moved copying during the rset scanning phase to the main copying phase. Made the size of rset table depend on the region size.
Reviewed-by: apetrusenko, tonyp
author | iveresov |
---|---|
date | Thu, 11 Feb 2010 15:52:19 -0800 |
parents | be93aad57795 |
children | 2a1472c30599 |
comparison
equal
deleted
inserted
replaced
1260:8859772195c6 | 1261:0414c1049f15 |
---|---|
136 | 136 |
137 const size_t K = 1024; | 137 const size_t K = 1024; |
138 const size_t M = K*K; | 138 const size_t M = K*K; |
139 const size_t G = M*K; | 139 const size_t G = M*K; |
140 const size_t HWperKB = K / sizeof(HeapWord); | 140 const size_t HWperKB = K / sizeof(HeapWord); |
141 | |
142 const size_t LOG_K = 10; | |
143 const size_t LOG_M = 2 * LOG_K; | |
144 const size_t LOG_G = 2 * LOG_M; | |
141 | 145 |
142 const jint min_jint = (jint)1 << (sizeof(jint)*BitsPerByte-1); // 0x80000000 == smallest jint | 146 const jint min_jint = (jint)1 << (sizeof(jint)*BitsPerByte-1); // 0x80000000 == smallest jint |
143 const jint max_jint = (juint)min_jint - 1; // 0x7FFFFFFF == largest jint | 147 const jint max_jint = (juint)min_jint - 1; // 0x7FFFFFFF == largest jint |
144 | 148 |
145 // Constants for converting from a base unit to milli-base units. For | 149 // Constants for converting from a base unit to milli-base units. For |