com.google.javascript.jscomp.Tracer$ThreadTrace.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of closure-compiler-unshaded Show documentation
Show all versions of closure-compiler-unshaded Show documentation
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 java/util/ArrayList
/com/google/javascript/jscomp/Tracer$ThreadTrace events Ljava/util/ArrayList; java/util/LinkedHashSet
outstandingEvents Ljava/util/LinkedHashSet; java/util/LinkedHashMap
stats Ljava/util/Map; ! isOutstandingEventsTruncated Z # $ ! isEventsTruncated & ' !
isInitialized ) * ! prettyPrint , )com/google/javascript/jscomp/Tracer$Event
+ . / )(ZLcom/google/javascript/jscomp/Tracer;)V
1 2 3 add (Ljava/lang/Object;)Z
1
6 7 8 9 : $com/google/common/base/Preconditions
checkState (Z)V
< = 3 remove ? @ A B C #com/google/javascript/jscomp/Tracer logger Ljava/util/logging/Logger; E F G H I java/util/logging/Level WARNING Ljava/util/logging/Level; K Nevent not found, probably because the event stack overflowed and was truncated M java/lang/Throwable
L
P Q R S T java/util/logging/Logger log C(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V V java/lang/IllegalStateException
U ? Y Z [
stopTimeMs J ? ] ^ [ startTimeMs ` a b defaultSilenceThreshold I
d e f size ()I
h i j get (I)Ljava/lang/Object; + l m n tracer %Lcom/google/javascript/jscomp/Tracer; + p q ! isStart
s = j ? u v w type Ljava/lang/String; y z { i |
java/util/Map &(Ljava/lang/Object;)Ljava/lang/Object; ~ (com/google/javascript/jscomp/Tracer$Stat
} ? ? ? ? extraTracingStatistics Ljava/util/List; ? ? ? ? ? java/util/List isEmpty ()Z ? d } ? ? ? extraInfo [I y ? ? ? put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; } ? ? b count ? ? ? ? typeToCountMap 9Lcom/google/javascript/jscomp/Tracer$AtomicTracerStatMap;
? ? ? ? ? 7com/google/javascript/jscomp/Tracer$AtomicTracerStatMap incrementBy (Ljava/lang/String;J)V } ? ? b clockTime ? ? ? ?
typeToTimeMap ? ? ? ? extraTracingValues [J
? ? ? ? ? java/lang/Math min (II)I ? h ? 4com/google/javascript/jscomp/Tracer$TracingStatistic ? ? ? ? getTracingStat ;()Lcom/google/javascript/jscomp/Tracer$AtomicTracerStatMap; } ? ? b silent ? ? ? ? typeToSilentMap
?
?
? ? clear
?
? ? f getMaxDigits ? java/lang/StringBuilder
? ???????? ? java/util/ArrayDeque
?
? ? ? iterator ()Ljava/util/Iterator; ? ? ? ? ? java/util/Iterator hasNext ? ? ? ? next ()Ljava/lang/Object; ? ? ? java/util/Deque ? ? ? ? pop ?
? ? ? ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ?
? ? ? ? ? com/google/common/base/Joiner on 3(Ljava/lang/String;)Lcom/google/common/base/Joiner;
? ? ? ? join ((Ljava/lang/Iterable;)Ljava/lang/String;
+ ? ? ? toString ((JLjava/lang/String;I)Ljava/lang/String;
+ ? ? ? eventTime ()J
? ? ? ? (C)Ljava/lang/StringBuilder; ? | ? push (Ljava/lang/Object;)V ? clock 3Lcom/google/javascript/jscomp/Tracer$InternalClock;
? 1com/google/javascript/jscomp/Tracer$InternalClock currentTimeMillis Unstopped timers:
?
? ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; (
? ? (J)Ljava/lang/StringBuilder; ms, started at
?
formatTime (J)Ljava/lang/String;! )
y#$% entrySet ()Ljava/util/Set;' ?(
java/util/Set* java/util/Map$Entry),- ? getValue/ TOTAL )12 ? getKey4 java/lang/String
?6 ?7 (I)Ljava/lang/StringBuilder;9 ms; ; ?=>? getUnits ()Ljava/lang/String;
?A ??
?CDE max (JJ)J
?GHI numDigits (J)I
?KD ? Signature BLjava/util/ArrayList; @Ljava/util/LinkedHashSet; MLjava/util/Map; Code LineNumberTable LocalVariableTable this 1Lcom/google/javascript/jscomp/Tracer$ThreadTrace; init
startEvent ((Lcom/google/javascript/jscomp/Tracer;)V t notAlreadyOutstanding MethodParameters endEvent )(Lcom/google/javascript/jscomp/Tracer;I)V e +Lcom/google/javascript/jscomp/Tracer$Event; i removed map
overlapLength stat *Lcom/google/javascript/jscomp/Tracer$Stat; silenceThreshold wasOutstanding elapsed
StackMapTable truncateOutstandingEvents truncateEvents now statEntry Ljava/util/Map$Entry; sb Ljava/lang/StringBuilder; etime indent Ljava/util/Deque; LocalVariableTypeTable SLjava/util/Map$Entry; %Ljava/util/Deque; time maxTime
SourceFile Tracer.java NestHost InnerClasses ThreadTrace Event Stat AtomicTracerStatMap TracingStatistic
InternalClock Entry 0 a b L M L N L O ! $ ! ' ! * !
P ? :*? *? Y? ?
*? Y? ? *? Y? ? *? *? "*? %*? (? Q " ? ? ? ? %? *? /? 4?R :ST U P 4 *? %? Q
? ?R ST ' ? P / *? %? Q ?R ST VW P i *?
? +Y+? -? 0W*? +? 4=? 5? Q ? ? ? ?R ST X n Y ! Z X [\ P h
?*? +? ;>? '*? ? ? >? DJ? LY? N? O? ? UY? W?+? X+? \e7? *? _=??? a66*?
? c? 8*?
? g? +:? k+? ? o? 5*?
? rW6? ?????
*? "? ? ? 5? *?
? +Y+? -? 0W+? t?*? +? t? x ? }:? 6? }Y? :? ?? ? ? ? ?? ? ?
? ?*? +? t? ? WY? ?`? ?? ?? ? ?+? t
? ?Y? ??a?? ?? ?? ? ?+? t? ?? ?? g+? ?? `? ??+? ??? ?66? F? ?\.?+? ?/a?O? ?? ? ? ?? ? : ? +? t+? ?/? ???????? Y? ?`? ?? ?? ? ?+? t
? ?? Q ? 0 ? ?
? ? )? 1? <? A? F? N Q ` n w ? ? ? ?
? ? ? ? ? ? ? ? ?*!8">#J&Y'i(s)?*?+?,?-?(?2?3?4?5?9R z n !]^ T A_ b Q X` ! ? a ? l J_ b i Mb b ?cd ?ST ?X n ?e b ?f ! <?g [ h 3 ? )? ?
:? @? ? @ }? !? C? ? #Z X e ? ? P O *?
? ?? *? ? ?? ? ? Q <R ST h @ i P ?
*? *? ? ?? Q @ A BR
ST j P ?
*? "*?
? ± Q E F GR
ST ?? P ?
*? ?