mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8229278: Improve hs_err location printing to assume less about GC internals
Reviewed-by: stefank, kbarrett
This commit is contained in:
parent
2750569c00
commit
855f16ef50
23 changed files with 243 additions and 127 deletions
|
@ -47,6 +47,7 @@
|
|||
#include "gc/shared/genCollectedHeap.hpp"
|
||||
#include "gc/shared/genOopClosures.inline.hpp"
|
||||
#include "gc/shared/generationSpec.hpp"
|
||||
#include "gc/shared/locationPrinter.inline.hpp"
|
||||
#include "gc/shared/oopStorageParState.inline.hpp"
|
||||
#include "gc/shared/scavengableNMethods.hpp"
|
||||
#include "gc/shared/space.hpp"
|
||||
|
@ -1260,6 +1261,10 @@ void GenCollectedHeap::gc_threads_do(ThreadClosure* tc) const {
|
|||
void GenCollectedHeap::print_gc_threads_on(outputStream* st) const {
|
||||
}
|
||||
|
||||
bool GenCollectedHeap::print_location(outputStream* st, void* addr) const {
|
||||
return BlockLocationPrinter<GenCollectedHeap>::print_location(st, addr);
|
||||
}
|
||||
|
||||
void GenCollectedHeap::print_tracing_info() const {
|
||||
if (log_is_enabled(Debug, gc, heap, exit)) {
|
||||
LogStreamHandle(Debug, gc, heap, exit) lsh;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue