comparison src/share/vm/memory/metaspace.cpp @ 14309:63a4eb8bcd23

8025856: Fix typos in the GC code Summary: Fix about 440 typos in comments in the VM code Reviewed-by: mgerdin, tschatzl, coleenp, kmo, jcoomes
author jwilhelm
date Thu, 23 Jan 2014 14:47:23 +0100
parents e4e941b83466
children e5d78f318aec
comparison
equal deleted inserted replaced
14308:870aedf4ba4f 14309:63a4eb8bcd23
2397 return false; 2397 return false;
2398 } 2398 }
2399 2399
2400 void SpaceManager::verify() { 2400 void SpaceManager::verify() {
2401 // If there are blocks in the dictionary, then 2401 // If there are blocks in the dictionary, then
2402 // verfication of chunks does not work since 2402 // verification of chunks does not work since
2403 // being in the dictionary alters a chunk. 2403 // being in the dictionary alters a chunk.
2404 if (block_freelists()->total_size() == 0) { 2404 if (block_freelists()->total_size() == 0) {
2405 for (ChunkIndex i = ZeroIndex; i < NumberOfInUseLists; i = next_chunk_index(i)) { 2405 for (ChunkIndex i = ZeroIndex; i < NumberOfInUseLists; i = next_chunk_index(i)) {
2406 Metachunk* curr = chunks_in_use(i); 2406 Metachunk* curr = chunks_in_use(i);
2407 while (curr != NULL) { 2407 while (curr != NULL) {
2866 lower_base = metaspace_base; 2866 lower_base = metaspace_base;
2867 2867
2868 uint64_t klass_encoding_max = UnscaledClassSpaceMax << LogKlassAlignmentInBytes; 2868 uint64_t klass_encoding_max = UnscaledClassSpaceMax << LogKlassAlignmentInBytes;
2869 // If compressed class space fits in lower 32G, we don't need a base. 2869 // If compressed class space fits in lower 32G, we don't need a base.
2870 if (higher_address <= (address)klass_encoding_max) { 2870 if (higher_address <= (address)klass_encoding_max) {
2871 lower_base = 0; // effectively lower base is zero. 2871 lower_base = 0; // Effectively lower base is zero.
2872 } 2872 }
2873 } 2873 }
2874 2874
2875 Universe::set_narrow_klass_base(lower_base); 2875 Universe::set_narrow_klass_base(lower_base);
2876 2876