提交 a2b3c536 编写于 作者: F fparain

7087969: GarbageCollectorMXBean notification contains ticks vs millis

Reviewed-by: acorn, dcubed, rbackman
上级 bb6f28bf
...@@ -163,8 +163,8 @@ static Handle createGcInfo(GCMemoryManager *gcManager, GCStatInfo *gcStatInfo,TR ...@@ -163,8 +163,8 @@ static Handle createGcInfo(GCMemoryManager *gcManager, GCStatInfo *gcStatInfo,TR
constructor_args.push_oop(gcInfo_instance); constructor_args.push_oop(gcInfo_instance);
constructor_args.push_oop(getGcInfoBuilder(gcManager,THREAD)); constructor_args.push_oop(getGcInfoBuilder(gcManager,THREAD));
constructor_args.push_long(gcStatInfo->gc_index()); constructor_args.push_long(gcStatInfo->gc_index());
constructor_args.push_long(gcStatInfo->start_time()); constructor_args.push_long(Management::ticks_to_ms(gcStatInfo->start_time()));
constructor_args.push_long(gcStatInfo->end_time()); constructor_args.push_long(Management::ticks_to_ms(gcStatInfo->end_time()));
constructor_args.push_oop(usage_before_gc_ah); constructor_args.push_oop(usage_before_gc_ah);
constructor_args.push_oop(usage_after_gc_ah); constructor_args.push_oop(usage_after_gc_ah);
constructor_args.push_oop(extra_array); constructor_args.push_oop(extra_array);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册