74 assert(ref_processor() == NULL, "no stomping"); |
74 assert(ref_processor() == NULL, "no stomping"); |
75 assert(rp != NULL, "should be non-NULL"); |
75 assert(rp != NULL, "should be non-NULL"); |
76 _ref_processor = rp; |
76 _ref_processor = rp; |
77 rp->setup_policy(clear_all_softrefs); |
77 rp->setup_policy(clear_all_softrefs); |
78 |
78 |
79 TraceTime t1("Full GC", PrintGC && !PrintGCDetails, true, gclog_or_tty); |
79 TraceTime t1(GCCauseString("Full GC", gch->gc_cause()), PrintGC && !PrintGCDetails, true, gclog_or_tty); |
80 |
80 |
81 // When collecting the permanent generation methodOops may be moving, |
81 // When collecting the permanent generation methodOops may be moving, |
82 // so we either have to flush all bcp data or convert it into bci. |
82 // so we either have to flush all bcp data or convert it into bci. |
83 CodeCache::gc_prologue(); |
83 CodeCache::gc_prologue(); |
84 Threads::gc_prologue(); |
84 Threads::gc_prologue(); |