Searched refs:GCCause (Results 1 - 25 of 52) sorted by relevance

123

/openjdk7/hotspot/src/share/vm/gc_interface/
H A DgcCause.hpp37 class GCCause : public AllStatic { class in inherits:AllStatic
76 inline static bool is_user_requested_gc(GCCause::Cause cause) {
77 return (cause == GCCause::_java_lang_system_gc ||
78 cause == GCCause::_jvmti_force_gc);
81 inline static bool is_serviceability_requested_gc(GCCause::Cause
83 return (cause == GCCause::_jvmti_force_gc ||
84 cause == GCCause::_heap_inspection ||
85 cause == GCCause::_heap_dump);
88 // Return a string describing the GCCause.
89 static const char* to_string(GCCause
[all...]
H A DgcCause.cpp28 const char* GCCause::to_string(GCCause::Cause cause) {
100 return "unknown GCCause";
H A DcollectedHeap.hpp115 GCCause::Cause _gc_cause;
116 GCCause::Cause _gc_lastcause;
343 void set_gc_cause(GCCause::Cause v) {
346 _perf_gc_lastcause->set_value(GCCause::to_string(_gc_lastcause));
347 _perf_gc_cause->set_value(GCCause::to_string(v));
351 GCCause::Cause gc_cause() { return _gc_cause; }
536 virtual void collect(GCCause::Cause cause) = 0;
542 virtual void collect_as_vm_thread(GCCause::Cause cause) = 0;
713 GCCause::Cause _previous_cause;
715 GCCauseSetter(CollectedHeap* heap, GCCause
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/
H A DvmPSOperations.cpp37 VM_GC_Operation(gc_count, GCCause::_allocation_failure),
59 VM_GC_Operation(gc_count, GCCause::_allocation_failure, full_gc_count, true /* full */),
81 GCCause::Cause gc_cause) :
94 if (_gc_cause == GCCause::_gc_locker
95 DEBUG_ONLY(|| _gc_cause == GCCause::_scavenge_alot)) {
H A DvmPSOperations.hpp67 GCCause::Cause gc_cause);
H A DparallelScavengeHeap.hpp192 void collect(GCCause::Cause cause);
198 void collect_as_vm_thread(GCCause::Cause cause);
H A DpsAdaptiveSizePolicy.hpp239 void major_collection_end(size_t amount_live, GCCause::Cause gc_cause);
352 GCCause::Cause gc_cause,
/openjdk7/hotspot/src/share/vm/memory/
H A DpermGen.cpp42 GCCause::Cause prev_cause) {
44 prev_cause != GCCause::_no_gc || UseG1GC) { // last disjunct is a temporary hack for G1
53 GCCause::Cause next_cause = GCCause::_permanent_generation_full;
54 GCCause::Cause prev_cause = GCCause::_no_gc;
72 if (obj != NULL || prev_cause == GCCause::_last_ditch_collection) {
116 next_cause = GCCause::_last_ditch_collection;
H A DgenCollectedHeap.hpp186 void collect(GCCause::Cause cause);
192 void collect_as_vm_thread(GCCause::Cause cause);
195 void collect_locked(GCCause::Cause cause);
199 void collect(GCCause::Cause cause, int max_level);
535 void collect_locked(GCCause::Cause cause, int max_level);
541 bool should_do_concurrent_full_gc(GCCause::Cause cause);
542 void collect_mostly_concurrent(GCCause::Cause cause);
H A DpermGen.hpp62 GCCause::Cause prev_cause);
H A DgenCollectedHeap.cpp435 return _gc_cause == GCCause::_last_ditch_collection;
438 bool GenCollectedHeap::should_do_concurrent_full_gc(GCCause::Cause cause) {
440 ((cause == GCCause::_gc_locker && GCLockerInvokesConcurrent) ||
441 (cause == GCCause::_java_lang_system_gc && ExplicitGCInvokesConcurrent));
775 void GenCollectedHeap::collect(GCCause::Cause cause) {
785 if (cause == GCCause::_scavenge_alot) {
799 void GenCollectedHeap::collect(GCCause::Cause cause, int max_level) {
810 void GenCollectedHeap::collect_as_vm_thread(GCCause::Cause cause) {
815 case GCCause::_heap_inspection:
816 case GCCause
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/
H A DvmGCOperations.hpp77 GCCause::Cause _gc_cause; // the putative cause for this gc op
88 GCCause::Cause _cause,
140 GCCause::_heap_inspection /* GC Cause */,
167 : VM_GC_Operation(gc_count_before, GCCause::_allocation_failure),
187 GCCause::Cause gc_cause,
204 GCCause::Cause gc_cause)
H A DgcTrace.hpp57 GCCause::Cause _cause;
64 SharedGCInfo(GCName name) : _id(UNSET_GCID), _name(name), _cause(GCCause::_last_gc_cause),
79 void set_cause(GCCause::Cause cause) { _cause = cause; }
80 GCCause::Cause cause() const { return _cause; }
118 void report_gc_start(GCCause::Cause cause, jlong timestamp);
128 virtual void report_gc_start_impl(GCCause::Cause cause, jlong timestamp);
H A DvmGCOperations.cpp94 assert(!(skip && (_gc_cause == GCCause::_gc_locker)),
102 assert(((_gc_cause != GCCause::_no_gc) &&
103 (_gc_cause != GCCause::_no_cause_specified)), "Illegal GCCause");
151 Universe::heap()->collect_as_vm_thread(GCCause::_heap_inspection);
215 g1h->do_full_collection(_gc_cause == GCCause::_last_ditch_collection);
H A DadaptiveSizePolicy.cpp243 void AdaptiveSizePolicy::minor_collection_end(GCCause::Cause gc_cause) {
247 if (gc_cause != GCCause::_java_lang_system_gc ||
423 GCCause::Cause gc_cause,
429 if (GCCause::is_user_requested_gc(gc_cause) ||
430 GCCause::is_serviceability_requested_gc(gc_cause)) {
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A Dvm_operations_g1.cpp41 GCCause::_allocation_failure) {
64 GCCause::Cause gc_cause)
73 guarantee(word_size == 0 || gc_cause == GCCause::_g1_inc_collection_pause,
98 ((_gc_cause == GCCause::_gc_locker && GCLockerInvokesConcurrent) ||
99 (_gc_cause == GCCause::_java_lang_system_gc && ExplicitGCInvokesConcurrent) ||
100 _gc_cause == GCCause::_g1_humongous_allocation),
147 if (_gc_cause != GCCause::_g1_humongous_allocation) {
179 if (_gc_cause == GCCause::_java_lang_system_gc &&
H A Dvm_operations_g1.hpp47 GCCause::Cause gc_cause)
58 GCCause::Cause cause)
89 GCCause::Cause gc_cause);
/openjdk7/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/
H A DcmsAdaptiveSizePolicy.hpp344 void checkpoint_roots_initial_end(GCCause::Cause gc_cause);
346 void checkpoint_roots_final_end(GCCause::Cause gc_cause);
365 void concurrent_phases_end(GCCause::Cause gc_cause,
371 void msc_collection_end(GCCause::Cause gc_cause);
376 void ms_collection_end(GCCause::Cause gc_cause);
409 void ms_collection_marking_end(GCCause::Cause gc_cause);
H A DcmsPermGen.hpp44 GCCause::Cause prev_cause);
H A DcmsPermGen.cpp66 GCCause::Cause prev_cause /* ignored */) {
H A DvmCMSOperations.cpp151 GCCauseSetter gccs(gch, GCCause::_cms_initial_mark);
188 GCCauseSetter gccs(gch, GCCause::_cms_final_remark);
285 if (_gc_cause != GCCause::_gc_locker &&
288 // GCCause::_java_lang_system_gc, instead of
289 // _gc_cause != GCCause::_gc_locker
290 assert(_gc_cause == GCCause::_java_lang_system_gc,
H A DvmCMSOperations.hpp135 GCCause::Cause gc_cause)
H A DcmsAdaptiveSizePolicy.cpp295 void CMSAdaptiveSizePolicy::concurrent_phases_end(GCCause::Cause gc_cause,
307 if (gc_cause != GCCause::_java_lang_system_gc ||
447 GCCause::Cause gc_cause) {
450 if (gc_cause != GCCause::_java_lang_system_gc ||
475 GCCause::Cause gc_cause) {
477 if (gc_cause != GCCause::_java_lang_system_gc ||
525 void CMSAdaptiveSizePolicy::msc_collection_end(GCCause::Cause gc_cause) {
532 if (gc_cause != GCCause::_java_lang_system_gc ||
675 void CMSAdaptiveSizePolicy::ms_collection_end(GCCause::Cause gc_cause) {
682 if (gc_cause != GCCause
[all...]
H A DconcurrentMarkSweepThread.cpp143 GCCause::Cause cause = _collector->_full_gc_requested ?
144 _collector->_full_gc_cause : GCCause::_cms_concurrent_mark;
/openjdk7/hotspot/src/share/vm/services/
H A DmemoryService.hpp167 GCCause::Cause cause);
197 GCCause::Cause _cause;
201 GCCause::Cause cause,
211 GCCause::Cause cause,
220 TraceMemoryManagerStats(Generation::Name kind, GCCause::Cause cause);

Completed in 76 milliseconds

123