Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/parallelScavenge/psScavenge.cpp @ 13400:86e6d691f2e1
8028128: Add a type safe alternative for working with counter based data
Reviewed-by: dholmes, egahlin
author | mgronlun |
---|---|
date | Sat, 23 Nov 2013 12:25:13 +0100 |
parents | c49c7f835e8d |
children | d41bd7e90661 |
comparison
equal
deleted
inserted
replaced
13399:260ac69dc096 | 13400:86e6d691f2e1 |
---|---|
261 assert(Thread::current() == (Thread*)VMThread::vm_thread(), "should be in vm thread"); | 261 assert(Thread::current() == (Thread*)VMThread::vm_thread(), "should be in vm thread"); |
262 | 262 |
263 assert(_preserved_mark_stack.is_empty(), "should be empty"); | 263 assert(_preserved_mark_stack.is_empty(), "should be empty"); |
264 assert(_preserved_oop_stack.is_empty(), "should be empty"); | 264 assert(_preserved_oop_stack.is_empty(), "should be empty"); |
265 | 265 |
266 _gc_timer.register_gc_start(os::elapsed_counter()); | 266 _gc_timer.register_gc_start(); |
267 | 267 |
268 TimeStamp scavenge_entry; | 268 TimeStamp scavenge_entry; |
269 TimeStamp scavenge_midpoint; | 269 TimeStamp scavenge_midpoint; |
270 TimeStamp scavenge_exit; | 270 TimeStamp scavenge_exit; |
271 | 271 |
689 #ifdef TRACESPINNING | 689 #ifdef TRACESPINNING |
690 ParallelTaskTerminator::print_termination_counts(); | 690 ParallelTaskTerminator::print_termination_counts(); |
691 #endif | 691 #endif |
692 | 692 |
693 | 693 |
694 _gc_timer.register_gc_end(os::elapsed_counter()); | 694 _gc_timer.register_gc_end(); |
695 | 695 |
696 _gc_tracer.report_gc_end(_gc_timer.gc_end(), _gc_timer.time_partitions()); | 696 _gc_tracer.report_gc_end(_gc_timer.gc_end(), _gc_timer.time_partitions()); |
697 | 697 |
698 return !promotion_failure_occurred; | 698 return !promotion_failure_occurred; |
699 } | 699 } |