All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.javascript.jscomp.Tracer.class Maven / Gradle / Ivy

Go to download

Closure Compiler is a JavaScript optimizing compiler. It parses your JavaScript, analyzes it, removes dead code and rewrites and minimizes what's left. It also checks syntax, variable references, and types, and warns about common JavaScript pitfalls. It is used in many of Google's JavaScript apps, including Gmail, Google Web Search, Google Maps, and Google Docs.

The newest version!
????7?
java/lang/Object()V		
#com/google/javascript/jscomp/TracertypeLjava/lang/String;
com/google/common/base/StringsnullToEmpty&(Ljava/lang/String;)Ljava/lang/String;	comment	clock3Lcom/google/javascript/jscomp/Tracer$InternalClock;1com/google/javascript/jscomp/Tracer$InternalClockcurrentTimeMillis()J	!"#startTimeMsJ
%&'()java/lang/Thread
currentThread()Ljava/lang/Thread;	+,-startThreadLjava/lang/Thread;	/01extraTracingStatisticsLjava/util/List;34567java/util/ListisEmpty()Z39:;size()I	=>?extraTracingValues[J3ABCiterator()Ljava/util/Iterator;EFGH7java/util/IteratorhasNextEJKLnext()Ljava/lang/Object;N4com/google/javascript/jscomp/Tracer$TracingStatisticMPQRstart(Ljava/lang/Thread;)J
TUVgetThreadTrace3()Lcom/google/javascript/jscomp/Tracer$ThreadTrace;
XYZ[7/com/google/javascript/jscomp/Tracer$ThreadTrace
isInitialized	X]^_eventsLjava/util/ArrayList;
a9bjava/util/ArrayList	defloggerLjava/util/logging/Logger;	hijkljava/util/logging/LevelWARNINGLjava/util/logging/Level;nLGiant thread trace. Too many Tracers created. Clearing to avoid memory leak.pjava/lang/Throwable
XrsttoString()Ljava/lang/String;
ovw(Ljava/lang/String;)V
yz{|}java/util/logging/LoggerlogC(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
X?truncateEvents	X???outstandingEventsLjava/util/LinkedHashSet;
?9?java/util/LinkedHashSet??Too many outstanding Tracers. Tracer.stop() is missing or Tracer.stop() is not wrapped in a try/finally block. Clearing to avoid memory leak.
X??truncateOutstandingEvents
X???
startEvent((Lcom/google/javascript/jscomp/Tracer;)V
??'(Ljava/lang/String;Ljava/lang/String;)V
???	numDigits(J)I?java/lang/StringBuilder
?
???appendSpaces(Ljava/lang/StringBuilder;I)V
????append(J)Ljava/lang/StringBuilder;
?r
?/Tracer.appendSpaces called with large numSpaces
y??wwarning?     
????-(Ljava/lang/String;)Ljava/lang/StringBuilder;? ?  ?   ?    M??7enable3???add(Ljava/lang/Object;)Z3???lastIndexOf(Ljava/lang/Object;)I3??clear
?????$com/google/common/base/Preconditions
checkState(Z)V	??#
stopTimeMs3???get(I)Ljava/lang/Object;M??Rstop
X???endEvent)(Lcom/google/javascript/jscomp/Tracer;I)V
???(I)J???makeConcatWithConstants8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;	X???defaultSilenceThresholdI
X4???E(Lcom/google/javascript/jscomp/Tracer$ThreadTrace;)Ljava/lang/String;
o
??clearThreadTrace
X??init
??initCurrentThreadTrace
???setDefaultSilenceThreshold(I)V	h??lINFO?cTracer log requested for this thread but was not initialized using Tracer.initCurrentThreadTrace().?timers:
{0}
?tgetCurrentThreadTraceReport
y|@(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Object;)V
logCurrentThreadTrace		
defaultPrettyPrintZ	
typeToCountMap9Lcom/google/javascript/jscomp/Tracer$AtomicTracerStatMap;7com/google/javascript/jscomp/Tracer$AtomicTracerStatMap
	typeToSilentMap	
typeToTimeMap
getMap()Ljava/util/Map;	XstatsLjava/util/Map;!"#?$
java/util/Map&(Ljava/lang/Object;)Ljava/lang/Object;&(com/google/javascript/jscomp/Tracer$Stat	()*	ZERO_STAT*Lcom/google/javascript/jscomp/Tracer$Stat;?<0	%02d.%03d
23456java/lang/IntegervalueOf(I)Ljava/lang/Integer;
89:;<java/lang/Stringformat9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;	>?@tracesLjava/lang/ThreadLocal;
BCD?Ljava/lang/ThreadLocal
X	XGH
prettyPrint
BJKLset(Ljava/lang/Object;)V
BNOremove
QRSTtjava/lang/ClassgetName
yVWX	getLogger.(Ljava/lang/String;)Ljava/util/logging/Logger;Z)java/util/concurrent/CopyOnWriteArrayList
Y]%com/google/javascript/jscomp/Tracer$1
\
%
B	SignatureHLjava/util/List;RuntimeVisibleTypeAnnotations#Lorg/jspecify/annotations/Nullable;MAX_TRACE_SIZE
ConstantValue?JLjava/lang/ThreadLocal;CodeLineNumberTableLocalVariableTabletracingStatistic6Lcom/google/javascript/jscomp/Tracer$TracingStatistic;ithis%Lcom/google/javascript/jscomp/Tracer;trace1Lcom/google/javascript/jscomp/Tracer$ThreadTrace;
StackMapTableMethodParameterslongToPaddedString(JI)Ljava/lang/String;vdigitsColumnWidth
digitWidthsbLjava/lang/StringBuilder;n	numSpacesRuntimeInvisibleAnnotations1Lcom/google/common/annotations/VisibleForTesting;addTracingStatistic9(Lcom/google/javascript/jscomp/Tracer$TracingStatistic;)I!clearTracingStatisticsTestingOnlyvaluesilenceThreshold	thresholdclearCurrentThreadTracelogAndClearCurrentThreadTracesetPrettyPrintenabledenableTypeMapsgetTypeToCountMap5()Ljava/util/Map;getTypeToSilentMapgetTypeToTimeMapgetStatsForType>(Ljava/lang/String;)Lcom/google/javascript/jscomp/Tracer$Stat;stat
formatTime(J)Ljava/lang/String;timesecmst
SourceFileTracer.javaNestMembers?)com/google/javascript/jscomp/Tracer$EventBootstrapMethods?
?????$java/lang/invoke/StringConcatFactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;?[] ?Non-empty timer log:
InnerClasses
InternalClockTracingStatisticThreadTraceAtomicTracerStatMapStatEvent?%java/lang/invoke/MethodHandles$Lookup?java/lang/invoke/MethodHandlesLookup0efJ	
01ab>?cd"#?#,-e?fg

cd
cd
cd)*?@ah?i??*?*+?*,?
?*??? *?$?*?.?2?N?.?8>*??<6?.?@:?D?'?I?M:*?<*?*?OP???ոSN-?W??-?\?`??c?gm?oY-?q?u?x-?~-??????c?g??oY-?q?u?x-??-*???jr??	???$?/?8???B?b?t?w?z?~??????????
??
???kHblm8B:?B8n??op??~\qrs"?L88E?-?X&&t	cddwi?*+???j
 kopt
uvi{#??>??Y??:d????W???j)*+,-k*#w##x?y?z{t	wx
??ic=??m?	?????j79:;<k|#n?s?t|??i?j??c???<?*???W??????E *4>*???W?*???W?*???W?
*???W?j>FGIKLM#QDSKTNVUWXY_Zb\i_kjz{j}?s	 			t	z}~??i^*????.*??W?.*????jk	mprklmstl?i%	?.???j
?~??i!??$*?*???ƸSM,?W?	?*????*?*?/?Y?1SY?1S?7?jijkk +?# ????t?UVir&?=?A?XK*??XY?EK*??F?=*?I*?j?
????$?k
?rs?$X?i#?=?M?j
???i`4?P?U?c?YY?[?.?\Y?^??%Y?_?'?BY?`?=?j????e)????MX?%\??????B?M?X??%?\?????




© 2015 - 2024 Weber Informatics LLC | Privacy Policy