Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.cpp @ 1907:1e9a9d2e6509
6970683: improvements to hs_err output
Reviewed-by: kvn, jrose, dholmes, coleenp
author | never |
---|---|
date | Thu, 21 Oct 2010 11:55:10 -0700 |
parents | c18cbe5936b8 |
children | f95d63e2154a |
comparison
equal
deleted
inserted
replaced
1906:f8aaf8522a6b | 1907:1e9a9d2e6509 |
---|---|
803 | 803 |
804 HeapWord* ParallelScavengeHeap::block_start(const void* addr) const { | 804 HeapWord* ParallelScavengeHeap::block_start(const void* addr) const { |
805 if (young_gen()->is_in_reserved(addr)) { | 805 if (young_gen()->is_in_reserved(addr)) { |
806 assert(young_gen()->is_in(addr), | 806 assert(young_gen()->is_in(addr), |
807 "addr should be in allocated part of young gen"); | 807 "addr should be in allocated part of young gen"); |
808 if (Debugging) return NULL; // called from find() in debug.cpp | 808 // called from os::print_location by find or VMError |
809 if (Debugging || VMError::fatal_error_in_progress()) return NULL; | |
809 Unimplemented(); | 810 Unimplemented(); |
810 } else if (old_gen()->is_in_reserved(addr)) { | 811 } else if (old_gen()->is_in_reserved(addr)) { |
811 assert(old_gen()->is_in(addr), | 812 assert(old_gen()->is_in(addr), |
812 "addr should be in allocated part of old gen"); | 813 "addr should be in allocated part of old gen"); |
813 return old_gen()->start_array()->object_start((HeapWord*)addr); | 814 return old_gen()->start_array()->object_start((HeapWord*)addr); |