comparison src/share/vm/gc_interface/collectedHeap.cpp @ 1549:1634cec09505

6953952: collectedHeap.cpp should use #ifdef _LP64 not LP64 Summary: Changed LP64 to _LP64 in collectedHeap.cpp. Reviewed-by: kvn, jcoomes
author ysr
date Wed, 19 May 2010 16:05:47 -0700
parents 15190cbcabe9
children c18cbe5936b8 2d127394260e
comparison
equal deleted inserted replaced
1548:15190cbcabe9 1549:1634cec09505
307 void CollectedHeap::fill_with_objects(HeapWord* start, size_t words, bool zap) 307 void CollectedHeap::fill_with_objects(HeapWord* start, size_t words, bool zap)
308 { 308 {
309 DEBUG_ONLY(fill_args_check(start, words);) 309 DEBUG_ONLY(fill_args_check(start, words);)
310 HandleMark hm; // Free handles before leaving. 310 HandleMark hm; // Free handles before leaving.
311 311
312 #ifdef LP64 312 #ifdef _LP64
313 // A single array can fill ~8G, so multiple objects are needed only in 64-bit. 313 // A single array can fill ~8G, so multiple objects are needed only in 64-bit.
314 // First fill with arrays, ensuring that any remaining space is big enough to 314 // First fill with arrays, ensuring that any remaining space is big enough to
315 // fill. The remainder is filled with a single object. 315 // fill. The remainder is filled with a single object.
316 const size_t min = min_fill_size(); 316 const size_t min = min_fill_size();
317 const size_t max = filler_array_max_size(); 317 const size_t max = filler_array_max_size();