mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
8011872: Include Bit Map addresses in the hs_err files
Reviewed-by: brutisso, jmasa
This commit is contained in:
parent
0edccc9e61
commit
e96efdaa1a
17 changed files with 98 additions and 7 deletions
|
@ -173,6 +173,12 @@ public:
|
|||
void reset_counters();
|
||||
#endif // #ifndef PRODUCT
|
||||
|
||||
void print_on_error(outputStream* st) const {
|
||||
st->print_cr("Marking Bits: (ParMarkBitMap*) " PTR_FORMAT, this);
|
||||
_beg_bits.print_on_error(st, " Begin Bits: ");
|
||||
_end_bits.print_on_error(st, " End Bits: ");
|
||||
}
|
||||
|
||||
#ifdef ASSERT
|
||||
void verify_clear() const;
|
||||
inline void verify_bit(idx_t bit) const;
|
||||
|
|
|
@ -648,6 +648,15 @@ void ParallelScavengeHeap::print_on(outputStream* st) const {
|
|||
MetaspaceAux::print_on(st);
|
||||
}
|
||||
|
||||
void ParallelScavengeHeap::print_on_error(outputStream* st) const {
|
||||
this->CollectedHeap::print_on_error(st);
|
||||
|
||||
if (UseParallelOldGC) {
|
||||
st->cr();
|
||||
PSParallelCompact::print_on_error(st);
|
||||
}
|
||||
}
|
||||
|
||||
void ParallelScavengeHeap::gc_threads_do(ThreadClosure* tc) const {
|
||||
PSScavenge::gc_task_manager()->threads_do(tc);
|
||||
}
|
||||
|
|
|
@ -220,6 +220,7 @@ class ParallelScavengeHeap : public CollectedHeap {
|
|||
|
||||
void prepare_for_verify();
|
||||
virtual void print_on(outputStream* st) const;
|
||||
virtual void print_on_error(outputStream* st) const;
|
||||
virtual void print_gc_threads_on(outputStream* st) const;
|
||||
virtual void gc_threads_do(ThreadClosure* tc) const;
|
||||
virtual void print_tracing_info() const;
|
||||
|
|
|
@ -165,6 +165,10 @@ void SplitInfo::verify_clear()
|
|||
#endif // #ifdef ASSERT
|
||||
|
||||
|
||||
void PSParallelCompact::print_on_error(outputStream* st) {
|
||||
_mark_bitmap.print_on_error(st);
|
||||
}
|
||||
|
||||
#ifndef PRODUCT
|
||||
const char* PSParallelCompact::space_names[] = {
|
||||
"old ", "eden", "from", "to "
|
||||
|
|
|
@ -1163,6 +1163,8 @@ class PSParallelCompact : AllStatic {
|
|||
// Time since last full gc (in milliseconds).
|
||||
static jlong millis_since_last_gc();
|
||||
|
||||
static void print_on_error(outputStream* st);
|
||||
|
||||
#ifndef PRODUCT
|
||||
// Debugging support.
|
||||
static const char* space_names[last_space_id];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue