Mercurial > hg > truffle
comparison src/share/vm/memory/blockOffsetTable.hpp @ 645:c3a720eefe82
6816308: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
Summary: Allow Hotspot builds with latest Windows SDK 6.1 on 64bit Windows 2003
Reviewed-by: ohair, tbell, jcoomes
author | kvn |
---|---|
date | Mon, 16 Mar 2009 15:06:33 -0700 |
parents | eb28cf662f56 |
children | bd02caa94611 |
comparison
equal
deleted
inserted
replaced
644:c517646eef23 | 645:c3a720eefe82 |
---|---|
233 Base = (1 << LogBase), | 233 Base = (1 << LogBase), |
234 N_powers = 14 | 234 N_powers = 14 |
235 }; | 235 }; |
236 | 236 |
237 static size_t power_to_cards_back(uint i) { | 237 static size_t power_to_cards_back(uint i) { |
238 return 1 << (LogBase * i); | 238 return (size_t)(1 << (LogBase * i)); |
239 } | 239 } |
240 static size_t power_to_words_back(uint i) { | 240 static size_t power_to_words_back(uint i) { |
241 return power_to_cards_back(i) * N_words; | 241 return power_to_cards_back(i) * N_words; |
242 } | 242 } |
243 static size_t entry_to_cards_back(u_char entry) { | 243 static size_t entry_to_cards_back(u_char entry) { |