8046598: Scalable Native memory tracking development

Enhance scalability of native memory tracking

Reviewed-by: coleenp, ctornqvi, gtriantafill
This commit is contained in:
Zhengyu Gu 2014-08-07 12:18:58 -07:00
parent 40b035d141
commit f0cf82f571
72 changed files with 5166 additions and 6109 deletions

View file

@ -774,6 +774,11 @@ void VMError::report(outputStream* st) {
st->cr();
}
STEP(228, "(Native Memory Tracking)" )
if (_verbose) {
MemTracker::final_report(st);
}
STEP(230, "" )
if (_verbose) {
@ -897,9 +902,6 @@ void VMError::report_and_die() {
static bool log_done = false; // done saving error log
static bool transmit_report_done = false; // done error reporting
// disble NMT to avoid further exception
MemTracker::shutdown(MemTracker::NMT_error_reporting);
if (SuppressFatalErrorMessage) {
os::abort();
}