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

com.groupbyinc.flux.common.HdrHistogram.ConcurrentHistogram.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????2/;com/groupbyinc/flux/common/HdrHistogram/ConcurrentHistogram1com/groupbyinc/flux/common/HdrHistogram/HistogramConcurrentHistogram.java`com/groupbyinc/flux/common/HdrHistogram/ConcurrentHistogram$AtomicLongArrayWithNormalizingOffset$AtomicLongArrayWithNormalizingOffsettotalCountUpdater4Ljava/util/concurrent/atomic/AtomicLongFieldUpdater;sLjava/util/concurrent/atomic/AtomicLongFieldUpdater;
totalCountJactiveCountsbLcom/groupbyinc/flux/common/HdrHistogram/ConcurrentHistogram$AtomicLongArrayWithNormalizingOffset;inactiveCountswrp-
,.	0getNormalizingIndexOffset2(
3normalizeIndex(III)I56
7get9
:readerUnlock<
=java/lang/Throwable?activeCount
inactiveCountthis=Lcom/groupbyinc/flux/common/HdrHistogram/ConcurrentHistogram;indexgetCountAtNormalizedIndexincrementCountAtIndex(I)VwriterCriticalSectionEnter()JIJ
KincrementAndGetM
NwriterCriticalSectionExit(J)VPQ
R
criticalValueaddToCountAtIndex(IJ)V	addAndGet(IJ)JWX
YvaluesetCountAtIndexlazySet]V
^setCountAtNormalizedIndexsetNormalizingIndexOffset(IIZ)Vab
cnormalizingIndexOffsetaH
f)shiftLowestInactiveHalfBucketContentsLefthH
i	flipPhasek
l	zeroIndexinactiveZeroValueCounttmp
shiftedAmountlowestHalfBucketPopulatedsubBucketHalfCountMagnitudes"	tsubBucketHalfCountv"	wvalueFromIndexy
zcountsArrayIndex(J)I|}
~toValuetoIndexnormalizedToIndexcountAtFromIndex	fromIndexshiftAmountnumberOfBinaryOrdersOfMagnitudeshiftNormalizingIndexByOffset(IZ)V
3newNormalizingIndexOffsetoffsetToAddresizedetermineArrayLengthNeeded?}
?(II)V-?
?+java/util/concurrent/atomic/AtomicLongArray?
?)
?:
establishSize?Q
?inewNormalizedZeroIndexlengthToCopysrcdstnewArrayLengthcountsDeltaoldNormalizedZeroIndexoldInactiveCounts-Ljava/util/concurrent/atomic/AtomicLongArray;newHighestTrackableValue
setAutoResize(Z)V
autoResize?	?clearCounts	
	?2java/util/concurrent/atomic/AtomicLongFieldUpdater?set(Ljava/lang/Object;J)V??
??copy?()Lcom/groupbyinc/flux/common/HdrHistogram/ConcurrentHistogram;>(Lcom/groupbyinc/flux/common/HdrHistogram/AbstractHistogram;)V-?
?add??
?#copyCorrectedForCoordinatedOmission@(J)Lcom/groupbyinc/flux/common/HdrHistogram/ConcurrentHistogram;(addWhileCorrectingForCoordinatedOmission?(Lcom/groupbyinc/flux/common/HdrHistogram/AbstractHistogram;J)V??
?#expectedIntervalBetweenValueSamplestoHistogram
getTotalCount(Ljava/lang/Object;)J9?
??
setTotalCountincrementTotalCountM?
??addToTotalCount(Ljava/lang/Object;J)JW?
??_getEstimatedFootprintInBytes(JJI)V-?
???
?numberOfSignificantValueDigits(JI)VhighestTrackableValue(JJIZ)V-?
?
.wordSizeInBytes?"	?lowestDiscernibleValue?(Lcom/groupbyinc/flux/common/HdrHistogram/AbstractHistogram;Z)V-?
?source;Lcom/groupbyinc/flux/common/HdrHistogram/AbstractHistogram;decodeFromByteBufferU(Ljava/nio/ByteBuffer;J)Lcom/groupbyinc/flux/common/HdrHistogram/ConcurrentHistogram;d(Ljava/nio/ByteBuffer;Ljava/lang/Class;J)Lcom/groupbyinc/flux/common/HdrHistogram/AbstractHistogram;??
?bufferLjava/nio/ByteBuffer;minBarForHighestTrackableValuedecodeFromCompressedByteBuffer!java/util/zip/DataFormatException???
?
readObject(Ljava/io/ObjectInputStream;)Vjava/io/IOException? java/lang/ClassNotFoundException?java/io/ObjectInputStream?defaultReadObject?
??oLjava/io/ObjectInputStream;fillCountsArrayFromBuffer(Ljava/nio/ByteBuffer;I)Vjava/nio/ByteBufferasLongBuffer()Ljava/nio/LongBuffer;
java/nio/LongBuffer	9J

	logbufferLjava/nio/LongBuffer;fillBufferFromCountsArray(Ljava/nio/ByteBuffer;)V
6(J)Lcom/groupbyinc/flux/common/HdrHistogram/Histogram;??
5()Lcom/groupbyinc/flux/common/HdrHistogram/Histogram;??
>(J)Lcom/groupbyinc/flux/common/HdrHistogram/AbstractHistogram;=()Lcom/groupbyinc/flux/common/HdrHistogram/AbstractHistogram;java/lang/ClassdesiredAssertionStatus()Z
 
newUpdaterY(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicLongFieldUpdater;#$
?%	SignatureCodeLocalVariableTableLineNumberTable
StackMapTable
Exceptions
SourceFileInnerClasses!	
'@
@@?#("	?*??? ?*?$*?&?*??,Y?/?? ?*?$*?1?*??,Y?/?*?&**?&?4*?&?*?8?;A*?1**?1?4*?1?*?8?;7 a7*??>?:*??>?|????)*Z,A
vB
?CD?E"*.67#8?9I:V9Z;d<q;v=|?+
#?F@F(?	n*??? ?*?$*?&?*??,Y?/?? ?*?$*?1?*??,Y?/?*?&?;A*?1?;7 a7*??>?:*??>?Xbbdb)*HA
RB
nCDnE"*FG#H?IHJRKXM+#b@GH(?<*??LA*?&**?&?4*?&?*?8?OX*? ?S?:*? ?S??#..0.) <CD<E"4T
*"SUVU#X+Y.X;Z+?.@UV(?@*??L7*?&**?&?4*?&?*?8 ?ZX*??S?:*??S??	%1131)*@CD@E"@[
	7T
*"^	`a!`%c.d1c?e+?1@
\V(?*??? ?*?$*?&?*??,Y?/?? ?*?$*?1?*??,Y?/?*?&**?&?4*?&?*?8 ?_*?1**?1?4*?1?*?8	?_*??>?:*??>??u?) ?CD?E"?[
*6
jk#l?mInWmZodprour|sr?t+#??@`V(?h*??? ?*?$*?&?*??,Y?/?? ?*?$*?1?*??,Y?/?*?1 ?_*?&	?_*??>?:*??>??Q[[][) hCDhE"h[
*&	yz#{?|H}QX?[g?+	#[@2((2*?&?4?)CD*?aH(@*?d?)CDe"*
??ab(?	]*??? ?*?$*?&?*??,Y?/?? ?*?$*?1?*??,Y?/?*?&?4?*??>?**?1?4*?1?*?86*?1?;7*?1	?_*?1?g??*?j**?1?4*?1?*?86*?1?_*?&:**?1?&*?1*??m**?1?4*?1?*?86*?1?;7*?1	?_*?1?g??*?j**?1?4*?1?*?86*?1?_*?&:**?1?&*?1*??m*??>?:*??>??JPRFPPRP)Hg?n"r?o
??p]CD]e"]q"]r*?"??#???J?Q?R?g?r?|????????????????????????????? ?+?1?9???F?M?P?\?+!#?>?y?D@hH(
]*?uz=>*?x?N*?{y7*?6**?1?4*?1?*?86*?1?;7*?1?_*?1	?_?????)R<?
"4?"8?"B?
	S?"]CD]?"V?"*.????"?)?8?B?M?V?\?+
?	?R??(?d*??? ?*?$*?&?*??,Y?/?? ?*?$*?1?*??,Y?/?*??`>*?d*??>?:*??>??MWWYW)*F?"dCDd?"dr*&	??#???F?M?TW?c+	#W@?Q(t
'*??? ?*?$*?&?*??,Y?/?? ?*?$*?1?*??,Y?/?*??>*?$d6?*??>?**?1?4*?1?*?86*?1:*?Y*?1?4???16???*?1???_?????Y`6dd66	6
	`?*?1
	???_?	?
???6

?*?1
	?_?
???*?&:**?1?&*?1*??m*?1:*?Y*?1?4???16???*?1???_?????Y`6dd6	6
6
	`?*?1
???_?
????6?*?1	?_????*?&:**?1?&*?1*??m*??? ?*?$*?&?*??,Y?/?? ?*?$*?1?*??,Y?/?*??>?:*??>??RZ)?? ?"?O?"?F?"?B?"	?>?"
= ?"iO?"rF?"	vB?"
z>?"E??"M??"o??"u???p'CD'?
*?9#	?EMRbYZ`ou????!?#?$?&?'?)?(?+?,+1235!8'91<:?G@W?]BbDiErGzH?J?I?L?M?L?R?S?T?V?\?^?_bcb&d+?#??0???
?"???6???"??;?I@??(>*???)CD?*
hi?(??*??? ?*?$*?&?*??,Y?/?? ?*?$*?1?*??,Y?/?<*?&?*?*?&	?_*?1	?_?????*	??*??>?
M*??>,??lv)A#?"?CD*2no#p?qLrUs^qdulwsxvw?y+#??"Q@	??(L?Y*??L+*??+?)CD	?D*}	~??(W?Y*??N-*??-?) CD?
	?D*?	???J(2??*?ƭ)CD*??Q(A	??*???)	CD	
*
???(7	??*??X?)	CD*
???Q(B
??*??X?)
CD
[
*
?	??((9*?&?*h`?)CD*?-H(K*
???*?ֱ)CD?"*?	??-?(J*
?Ա) CD?
?"*
??-?(?;*!??*?Y?ݵ*?Y*?$???&*?Y*?$???1*??)*;CD;?
;?
;?"*?	1?$?4?:?-?(?8*+??*?Y?ݵ*?Y*?$???&*?Y*?$???1*??)8CD8??*?1?!?1?7?	??(?*????)???
*?	??(?*????)???
*?,???(L+??*?Y?ݵ?)CD?*???,?? (?,+?N6? *?1-??_*?&	?_????)4#?",CD,??,'"'
*%++?
?" (~!*??*+?*??>?
M*??>,??)!CD!??*
 +V@	A?(0*??)CD*)A?(/*??)CD*)A?(0*??)CD*)A?(/*??)CD*)(K?!??? "?&???*)+,++@-.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy