35 //
36 // The definitions in the SA code should be kept in sync
37 // with the definitions here.
38 //
39
40 class GCCause : public AllStatic {
41 public:
42 enum Cause {
43 /* public */
44 _java_lang_system_gc,
45 _full_gc_alot,
46 _scavenge_alot,
47 _allocation_profiler,
48 _jvmti_force_gc,
49 _gc_locker,
50 _heap_inspection,
51 _heap_dump,
52 _wb_young_gc,
53 _wb_conc_mark,
54 _wb_full_gc,
55 _update_allocation_context_stats_inc,
56 _update_allocation_context_stats_full,
57
58 /* implementation independent, but reserved for GC use */
59 _no_gc,
60 _no_cause_specified,
61 _allocation_failure,
62
63 /* implementation specific */
64
65 _tenured_generation_full,
66 _metadata_GC_threshold,
67 _metadata_GC_clear_soft_refs,
68
69 _cms_generation_full,
70 _cms_initial_mark,
71 _cms_final_remark,
72 _cms_concurrent_mark,
73
74 _old_generation_expanded_on_last_scavenge,
75 _old_generation_too_full_to_scavenge,
76 _adaptive_size_policy,
|
35 //
36 // The definitions in the SA code should be kept in sync
37 // with the definitions here.
38 //
39
40 class GCCause : public AllStatic {
41 public:
42 enum Cause {
43 /* public */
44 _java_lang_system_gc,
45 _full_gc_alot,
46 _scavenge_alot,
47 _allocation_profiler,
48 _jvmti_force_gc,
49 _gc_locker,
50 _heap_inspection,
51 _heap_dump,
52 _wb_young_gc,
53 _wb_conc_mark,
54 _wb_full_gc,
55
56 /* implementation independent, but reserved for GC use */
57 _no_gc,
58 _no_cause_specified,
59 _allocation_failure,
60
61 /* implementation specific */
62
63 _tenured_generation_full,
64 _metadata_GC_threshold,
65 _metadata_GC_clear_soft_refs,
66
67 _cms_generation_full,
68 _cms_initial_mark,
69 _cms_final_remark,
70 _cms_concurrent_mark,
71
72 _old_generation_expanded_on_last_scavenge,
73 _old_generation_too_full_to_scavenge,
74 _adaptive_size_policy,
|