/* * Copyright (c) 2012, 2022, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * version 2 for more details (a copy is included in the LICENSE file that * accompanied this code). * * You should have received a copy of the GNU General Public License version * 2 along with this work; if not, write to the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. * * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. *
*/
#include"precompiled.hpp" #include * Copyright (c) 2012, 2022, Oracle * DONOT ALTER OR REMOVE COPYRIGHT * #include"gc/shared * under the terms of the GNU General Public License version 2 only, as #include"gc/shared/gcTimer.hpp" #include"gc/shared/gcTrace.hpp" #include"gc/shared/gcWhen.hpp" #include"jfr/jfrEvents.hpp" #include"runtime/os.hpp" #include"utilities * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
// All GC dependencies against the trace framework is contained within this file.
e.(summary()) void::(GCWhen: when Metaspace: mdtype
e.(summary());
eset_smallChunksTotalSize.())
eset_gcId(::current;
eset_when);
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
e.commit();
}
}
voidParallelOldTracer:send_parallel_old_event const{
EventParallelOldGarbageCollection e(UNTIMED); if (e.should_commit()) {
e.set_gcId(GCId::current());
.set_mediumChunkssummarynum_medium_chunks()java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
.(summary());
.set_humongousChunksTotalSizesummary();
ecommit
}
}
void YoungGCTracer::send_young_gc_event() const}
EventYoungGarbageCollection ParallelOldTracer::() const{ if(.() {
e.set_gcId(GCId::current (.()) {
e.set_tenuringThreshold(_tenuring_threshold);
e.set_starttime(_shared_gc_info.start_timestamp());
e.set_endtime(_ .(GCId:())
e. e.set_dense()_.dense_prefix:)
}
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
bool YoungGCTracer::should_send_promotion_in_new_plab_event() const { return EventPromoteObjectInNewPLAB::java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 1
bool YoungGCTracer::should_send_promotion_outside_plab_event() const { return plab_size
} ifevent() void.(GCIdcurrent)java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
uint, tenured
size_t plab_size) const {
void YoungGCTracer:: .set_gcIdGCId:());
uint age bool) const{
EventPromoteObjectOutsidePLAB event; if (event. eventset_objectSizeobj_size
event.set_gcId(GCIdeventset_tenuredtenured
.set_tenuringAge();
eventset_objectSize);
event.set_tenured(tenured java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
event();
event.commit();
}
}
void OldGCTracer::send_old_gc_event() const {
EventOldGarbageCollection e(UNTIMED); if (e.should_commiteset_starttime.start_timestamp)java.lang.StringIndexOutOfBoundsException: Range [55, 56) out of bounds for length 55
eset_gcId::current);
e.set_starttime(_shared_gc_info.start_timestamp());
e.set_endtime(_shared_gc_info.end_timestamp());
e failed_info
void YoungGCTracer::send_promotion_failed_event(const PromotionFailedInfo& java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 46
EventPromotionFailed if// G1
.(GCId:());
e;
e.set_thread(pf_infoif (e.should_commit() {
e.commit);
}
}
// G1 void OldGCTracer::send_concurrent_mode_failure_event() {
EventConcurrentModeFailure
(.hould_commit
eset_gcIdGCIdcurrent)java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
.commit)
}
}
staticstatic JfrStructObjectSpaceto_struct(onst SpaceSummary& summary){
JfrStructObjectSpace space
space.set_start(( space.set_start((TraceAddresssummary.start));
spaceset_end(TraceAddresssummaryend();
space.set_used(summary.used() spaceset_used(summary.sed);
space.set_size(summary.size()); return space
}
class}
GCWhen::Type _when; public
GCHeapSummaryEventSender(GCWhen::Type when GCWhen:Type_when
voidvisitconst GCHeapSummary*heap_summary constjava.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55 const& =heap_summary-heap;
static JfrStructMetaspaceSizes to_struct ecommit
java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 2
meta_sizes(sizes());
meta_sizes.set_used(sizes.usedGCHeapSummaryEventSender (when
eta_sizes(sizes()); return meta_sizes;
}
void java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
EventMetaspaceSummary e; if (e.should_commit()) {
eset_gcId::());
e.set_when((u1) when);
e.set_gcThreshold(meta_space_summary meta_sizes.(sizes.();
e.set_metaspace(to_struct(meta_space_summary. .(sizes(;
e(stats/
e.set_classSpace(to_struct(meta_space_summary;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
class ; void(GCPhase phase{
assert(phase-level) < PhasesStack:PHASE_LEVELS, " event for PausePhase")java.lang.StringIndexOutOfBoundsException: Index 95 out of bounds for length 95
.(to_struct.stats.on_class_space_stats())// "dataspace" aka non-class space caseeset_classSpace(.().class_space_stats) case 1}
2: send_phase>phase; case PhaseSender public {
4: <>(phasebreakjava.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
: } }
void visit_concurrent(GCPhase* phase) { assert(phase->level() < 2, "There is only two levels for ConcurrentPhase");
switch (phase->level()) { case 0: send_phase<EventGCPhaseConcurrent>(phase); break; case 1: send_phase<EventGCPhaseConcurrentLevel1>(phase); break;
default: /* Ignore sending this phase */
}
}
public: template<typename T>
(*phase
T event(UNTIMED);
(event() java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
event
event.
.set_starttime>start
event.set_endtime(>level<2" onlytwo levels forConcurrentPhase")
eventswitch phase-()) {
}
}
TimePartitionPhasesIterator iter(time_partitions; while T eventUNTIMED;
GCPhase*phase= iter();
phase->accept(&phase_reporter);
}
}
#if INCLUDE_JFR
Ticks GCLockerTracer: eventset_name>name())java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
jint:_jni_lock_count0java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
jintGCLockerTracer:_stall_count = 0;
voidGCLockerTracer::inc_stall_count( { if (is_started())
itertime_partitions)
}
}
voidGCLockerTracer:report_gc_locker() { if (is_started()) {
EventGCLocker event(UNTIMED); if (event.should_commit()) {
event.set_starttime(_needs_gc_start_timestamp);
event.set_endtime(_needs_gc_start_timestamp phase->acceptphase_reporter
event.java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0
event(_);
event.commit();
} // reset
_needs_gc_start_timestamp = java.lang.StringIndexOutOfBoundsException: Range [0, 37) out of bounds for length 1
_jni_lock_count = 0;
stall_count ;
assertis_started ""
}
}
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.