View Javadoc
1   package io.netty5.util.jmh_generated;
2   
3   import java.util.List;
4   import java.util.concurrent.atomic.AtomicInteger;
5   import java.util.Collection;
6   import java.util.ArrayList;
7   import java.util.concurrent.TimeUnit;
8   import org.openjdk.jmh.annotations.CompilerControl;
9   import org.openjdk.jmh.runner.InfraControl;
10  import org.openjdk.jmh.infra.ThreadParams;
11  import org.openjdk.jmh.results.BenchmarkTaskResult;
12  import org.openjdk.jmh.results.Result;
13  import org.openjdk.jmh.results.ThroughputResult;
14  import org.openjdk.jmh.results.AverageTimeResult;
15  import org.openjdk.jmh.results.SampleTimeResult;
16  import org.openjdk.jmh.results.SingleShotResult;
17  import org.openjdk.jmh.util.SampleBuffer;
18  import org.openjdk.jmh.annotations.Mode;
19  import org.openjdk.jmh.annotations.Fork;
20  import org.openjdk.jmh.annotations.Measurement;
21  import org.openjdk.jmh.annotations.Threads;
22  import org.openjdk.jmh.annotations.Warmup;
23  import org.openjdk.jmh.annotations.BenchmarkMode;
24  import org.openjdk.jmh.results.RawResults;
25  import org.openjdk.jmh.results.ResultRole;
26  import java.lang.reflect.Field;
27  import org.openjdk.jmh.infra.BenchmarkParams;
28  import org.openjdk.jmh.infra.IterationParams;
29  import org.openjdk.jmh.infra.Blackhole;
30  import org.openjdk.jmh.infra.Control;
31  import org.openjdk.jmh.results.ScalarResult;
32  import org.openjdk.jmh.results.AggregationPolicy;
33  import org.openjdk.jmh.runner.FailureAssistException;
34  
35  import io.netty5.util.jmh_generated.DefaultAttributeMapBenchmark_jmhType;
36  import io.netty5.util.jmh_generated.DefaultAttributeMapBenchmark_KeySequence_jmhType;
37  public final class DefaultAttributeMapBenchmark_nextAttributeIdentityHashMap_jmhTest {
38  
39      byte p000, p001, p002, p003, p004, p005, p006, p007, p008, p009, p010, p011, p012, p013, p014, p015;
40      byte p016, p017, p018, p019, p020, p021, p022, p023, p024, p025, p026, p027, p028, p029, p030, p031;
41      byte p032, p033, p034, p035, p036, p037, p038, p039, p040, p041, p042, p043, p044, p045, p046, p047;
42      byte p048, p049, p050, p051, p052, p053, p054, p055, p056, p057, p058, p059, p060, p061, p062, p063;
43      byte p064, p065, p066, p067, p068, p069, p070, p071, p072, p073, p074, p075, p076, p077, p078, p079;
44      byte p080, p081, p082, p083, p084, p085, p086, p087, p088, p089, p090, p091, p092, p093, p094, p095;
45      byte p096, p097, p098, p099, p100, p101, p102, p103, p104, p105, p106, p107, p108, p109, p110, p111;
46      byte p112, p113, p114, p115, p116, p117, p118, p119, p120, p121, p122, p123, p124, p125, p126, p127;
47      byte p128, p129, p130, p131, p132, p133, p134, p135, p136, p137, p138, p139, p140, p141, p142, p143;
48      byte p144, p145, p146, p147, p148, p149, p150, p151, p152, p153, p154, p155, p156, p157, p158, p159;
49      byte p160, p161, p162, p163, p164, p165, p166, p167, p168, p169, p170, p171, p172, p173, p174, p175;
50      byte p176, p177, p178, p179, p180, p181, p182, p183, p184, p185, p186, p187, p188, p189, p190, p191;
51      byte p192, p193, p194, p195, p196, p197, p198, p199, p200, p201, p202, p203, p204, p205, p206, p207;
52      byte p208, p209, p210, p211, p212, p213, p214, p215, p216, p217, p218, p219, p220, p221, p222, p223;
53      byte p224, p225, p226, p227, p228, p229, p230, p231, p232, p233, p234, p235, p236, p237, p238, p239;
54      byte p240, p241, p242, p243, p244, p245, p246, p247, p248, p249, p250, p251, p252, p253, p254, p255;
55      int startRndMask;
56      BenchmarkParams benchmarkParams;
57      IterationParams iterationParams;
58      ThreadParams threadParams;
59      Blackhole blackhole;
60      Control notifyControl;
61  
62      public BenchmarkTaskResult nextAttributeIdentityHashMap_Throughput(InfraControl control, ThreadParams threadParams) throws Throwable {
63          this.benchmarkParams = control.benchmarkParams;
64          this.iterationParams = control.iterationParams;
65          this.threadParams    = threadParams;
66          this.notifyControl   = control.notifyControl;
67          if (this.blackhole == null) {
68              this.blackhole = new Blackhole("Today's password is swordfish. I understand instantiating Blackholes directly is dangerous.");
69          }
70          if (threadParams.getSubgroupIndex() == 0) {
71              RawResults res = new RawResults();
72              DefaultAttributeMapBenchmark_jmhType l_defaultattributemapbenchmark0_G = _jmh_tryInit_f_defaultattributemapbenchmark0_G(control);
73              DefaultAttributeMapBenchmark_KeySequence_jmhType l_keysequence1_0 = _jmh_tryInit_f_keysequence1_0(control);
74  
75              control.preSetup();
76              l_keysequence1_0.reset();
77  
78  
79              control.announceWarmupReady();
80              while (control.warmupShouldWait) {
81                  blackhole.consume(l_defaultattributemapbenchmark0_G.nextAttributeIdentityHashMap(l_keysequence1_0));
82                  res.allOps++;
83              }
84  
85              notifyControl.startMeasurement = true;
86              nextAttributeIdentityHashMap_thrpt_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, l_keysequence1_0, l_defaultattributemapbenchmark0_G);
87              notifyControl.stopMeasurement = true;
88              control.announceWarmdownReady();
89              try {
90                  while (control.warmdownShouldWait) {
91                      blackhole.consume(l_defaultattributemapbenchmark0_G.nextAttributeIdentityHashMap(l_keysequence1_0));
92                      res.allOps++;
93                  }
94              } catch (Throwable e) {
95                  if (!(e instanceof InterruptedException)) throw e;
96              }
97              control.preTearDown();
98  
99              if (control.isLastIteration()) {
100                 if (DefaultAttributeMapBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_defaultattributemapbenchmark0_G, 0, 1)) {
101                     try {
102                         if (control.isFailing) throw new FailureAssistException();
103                         if (l_defaultattributemapbenchmark0_G.readyTrial) {
104                             l_defaultattributemapbenchmark0_G.readyTrial = false;
105                         }
106                     } catch (Throwable t) {
107                         control.isFailing = true;
108                         throw t;
109                     } finally {
110                         DefaultAttributeMapBenchmark_jmhType.tearTrialMutexUpdater.set(l_defaultattributemapbenchmark0_G, 0);
111                     }
112                 } else {
113                     long l_defaultattributemapbenchmark0_G_backoff = 1;
114                     while (DefaultAttributeMapBenchmark_jmhType.tearTrialMutexUpdater.get(l_defaultattributemapbenchmark0_G) == 1) {
115                         TimeUnit.MILLISECONDS.sleep(l_defaultattributemapbenchmark0_G_backoff);
116                         l_defaultattributemapbenchmark0_G_backoff = Math.max(1024, l_defaultattributemapbenchmark0_G_backoff * 2);
117                         if (control.isFailing) throw new FailureAssistException();
118                         if (Thread.interrupted()) throw new InterruptedException();
119                     }
120                 }
121                 synchronized(this.getClass()) {
122                     f_defaultattributemapbenchmark0_G = null;
123                 }
124                 f_keysequence1_0 = null;
125             }
126             res.allOps += res.measuredOps;
127             int batchSize = iterationParams.getBatchSize();
128             int opsPerInv = benchmarkParams.getOpsPerInvocation();
129             res.allOps *= opsPerInv;
130             res.allOps /= batchSize;
131             res.measuredOps *= opsPerInv;
132             res.measuredOps /= batchSize;
133             BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps);
134             results.add(new ThroughputResult(ResultRole.PRIMARY, "nextAttributeIdentityHashMap", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit()));
135             this.blackhole.evaporate("Yes, I am Stephen Hawking, and know a thing or two about black holes.");
136             return results;
137         } else
138             throw new IllegalStateException("Harness failed to distribute threads among groups properly");
139     }
140 
141     public static void nextAttributeIdentityHashMap_thrpt_jmhStub(InfraControl control, RawResults result, BenchmarkParams benchmarkParams, IterationParams iterationParams, ThreadParams threadParams, Blackhole blackhole, Control notifyControl, int startRndMask, DefaultAttributeMapBenchmark_KeySequence_jmhType l_keysequence1_0, DefaultAttributeMapBenchmark_jmhType l_defaultattributemapbenchmark0_G) throws Throwable {
142         long operations = 0;
143         long realTime = 0;
144         result.startTime = System.nanoTime();
145         do {
146             blackhole.consume(l_defaultattributemapbenchmark0_G.nextAttributeIdentityHashMap(l_keysequence1_0));
147             operations++;
148         } while(!control.isDone);
149         result.stopTime = System.nanoTime();
150         result.realTime = realTime;
151         result.measuredOps = operations;
152     }
153 
154 
155     public BenchmarkTaskResult nextAttributeIdentityHashMap_AverageTime(InfraControl control, ThreadParams threadParams) throws Throwable {
156         this.benchmarkParams = control.benchmarkParams;
157         this.iterationParams = control.iterationParams;
158         this.threadParams    = threadParams;
159         this.notifyControl   = control.notifyControl;
160         if (this.blackhole == null) {
161             this.blackhole = new Blackhole("Today's password is swordfish. I understand instantiating Blackholes directly is dangerous.");
162         }
163         if (threadParams.getSubgroupIndex() == 0) {
164             RawResults res = new RawResults();
165             DefaultAttributeMapBenchmark_jmhType l_defaultattributemapbenchmark0_G = _jmh_tryInit_f_defaultattributemapbenchmark0_G(control);
166             DefaultAttributeMapBenchmark_KeySequence_jmhType l_keysequence1_0 = _jmh_tryInit_f_keysequence1_0(control);
167 
168             control.preSetup();
169             l_keysequence1_0.reset();
170 
171 
172             control.announceWarmupReady();
173             while (control.warmupShouldWait) {
174                 blackhole.consume(l_defaultattributemapbenchmark0_G.nextAttributeIdentityHashMap(l_keysequence1_0));
175                 res.allOps++;
176             }
177 
178             notifyControl.startMeasurement = true;
179             nextAttributeIdentityHashMap_avgt_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, l_keysequence1_0, l_defaultattributemapbenchmark0_G);
180             notifyControl.stopMeasurement = true;
181             control.announceWarmdownReady();
182             try {
183                 while (control.warmdownShouldWait) {
184                     blackhole.consume(l_defaultattributemapbenchmark0_G.nextAttributeIdentityHashMap(l_keysequence1_0));
185                     res.allOps++;
186                 }
187             } catch (Throwable e) {
188                 if (!(e instanceof InterruptedException)) throw e;
189             }
190             control.preTearDown();
191 
192             if (control.isLastIteration()) {
193                 if (DefaultAttributeMapBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_defaultattributemapbenchmark0_G, 0, 1)) {
194                     try {
195                         if (control.isFailing) throw new FailureAssistException();
196                         if (l_defaultattributemapbenchmark0_G.readyTrial) {
197                             l_defaultattributemapbenchmark0_G.readyTrial = false;
198                         }
199                     } catch (Throwable t) {
200                         control.isFailing = true;
201                         throw t;
202                     } finally {
203                         DefaultAttributeMapBenchmark_jmhType.tearTrialMutexUpdater.set(l_defaultattributemapbenchmark0_G, 0);
204                     }
205                 } else {
206                     long l_defaultattributemapbenchmark0_G_backoff = 1;
207                     while (DefaultAttributeMapBenchmark_jmhType.tearTrialMutexUpdater.get(l_defaultattributemapbenchmark0_G) == 1) {
208                         TimeUnit.MILLISECONDS.sleep(l_defaultattributemapbenchmark0_G_backoff);
209                         l_defaultattributemapbenchmark0_G_backoff = Math.max(1024, l_defaultattributemapbenchmark0_G_backoff * 2);
210                         if (control.isFailing) throw new FailureAssistException();
211                         if (Thread.interrupted()) throw new InterruptedException();
212                     }
213                 }
214                 synchronized(this.getClass()) {
215                     f_defaultattributemapbenchmark0_G = null;
216                 }
217                 f_keysequence1_0 = null;
218             }
219             res.allOps += res.measuredOps;
220             int batchSize = iterationParams.getBatchSize();
221             int opsPerInv = benchmarkParams.getOpsPerInvocation();
222             res.allOps *= opsPerInv;
223             res.allOps /= batchSize;
224             res.measuredOps *= opsPerInv;
225             res.measuredOps /= batchSize;
226             BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps);
227             results.add(new AverageTimeResult(ResultRole.PRIMARY, "nextAttributeIdentityHashMap", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit()));
228             this.blackhole.evaporate("Yes, I am Stephen Hawking, and know a thing or two about black holes.");
229             return results;
230         } else
231             throw new IllegalStateException("Harness failed to distribute threads among groups properly");
232     }
233 
234     public static void nextAttributeIdentityHashMap_avgt_jmhStub(InfraControl control, RawResults result, BenchmarkParams benchmarkParams, IterationParams iterationParams, ThreadParams threadParams, Blackhole blackhole, Control notifyControl, int startRndMask, DefaultAttributeMapBenchmark_KeySequence_jmhType l_keysequence1_0, DefaultAttributeMapBenchmark_jmhType l_defaultattributemapbenchmark0_G) throws Throwable {
235         long operations = 0;
236         long realTime = 0;
237         result.startTime = System.nanoTime();
238         do {
239             blackhole.consume(l_defaultattributemapbenchmark0_G.nextAttributeIdentityHashMap(l_keysequence1_0));
240             operations++;
241         } while(!control.isDone);
242         result.stopTime = System.nanoTime();
243         result.realTime = realTime;
244         result.measuredOps = operations;
245     }
246 
247 
248     public BenchmarkTaskResult nextAttributeIdentityHashMap_SampleTime(InfraControl control, ThreadParams threadParams) throws Throwable {
249         this.benchmarkParams = control.benchmarkParams;
250         this.iterationParams = control.iterationParams;
251         this.threadParams    = threadParams;
252         this.notifyControl   = control.notifyControl;
253         if (this.blackhole == null) {
254             this.blackhole = new Blackhole("Today's password is swordfish. I understand instantiating Blackholes directly is dangerous.");
255         }
256         if (threadParams.getSubgroupIndex() == 0) {
257             RawResults res = new RawResults();
258             DefaultAttributeMapBenchmark_jmhType l_defaultattributemapbenchmark0_G = _jmh_tryInit_f_defaultattributemapbenchmark0_G(control);
259             DefaultAttributeMapBenchmark_KeySequence_jmhType l_keysequence1_0 = _jmh_tryInit_f_keysequence1_0(control);
260 
261             control.preSetup();
262             l_keysequence1_0.reset();
263 
264 
265             control.announceWarmupReady();
266             while (control.warmupShouldWait) {
267                 blackhole.consume(l_defaultattributemapbenchmark0_G.nextAttributeIdentityHashMap(l_keysequence1_0));
268                 res.allOps++;
269             }
270 
271             notifyControl.startMeasurement = true;
272             int targetSamples = (int) (control.getDuration(TimeUnit.MILLISECONDS) * 20); // at max, 20 timestamps per millisecond
273             int batchSize = iterationParams.getBatchSize();
274             int opsPerInv = benchmarkParams.getOpsPerInvocation();
275             SampleBuffer buffer = new SampleBuffer();
276             nextAttributeIdentityHashMap_sample_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, buffer, targetSamples, opsPerInv, batchSize, l_keysequence1_0, l_defaultattributemapbenchmark0_G);
277             notifyControl.stopMeasurement = true;
278             control.announceWarmdownReady();
279             try {
280                 while (control.warmdownShouldWait) {
281                     blackhole.consume(l_defaultattributemapbenchmark0_G.nextAttributeIdentityHashMap(l_keysequence1_0));
282                     res.allOps++;
283                 }
284             } catch (Throwable e) {
285                 if (!(e instanceof InterruptedException)) throw e;
286             }
287             control.preTearDown();
288 
289             if (control.isLastIteration()) {
290                 if (DefaultAttributeMapBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_defaultattributemapbenchmark0_G, 0, 1)) {
291                     try {
292                         if (control.isFailing) throw new FailureAssistException();
293                         if (l_defaultattributemapbenchmark0_G.readyTrial) {
294                             l_defaultattributemapbenchmark0_G.readyTrial = false;
295                         }
296                     } catch (Throwable t) {
297                         control.isFailing = true;
298                         throw t;
299                     } finally {
300                         DefaultAttributeMapBenchmark_jmhType.tearTrialMutexUpdater.set(l_defaultattributemapbenchmark0_G, 0);
301                     }
302                 } else {
303                     long l_defaultattributemapbenchmark0_G_backoff = 1;
304                     while (DefaultAttributeMapBenchmark_jmhType.tearTrialMutexUpdater.get(l_defaultattributemapbenchmark0_G) == 1) {
305                         TimeUnit.MILLISECONDS.sleep(l_defaultattributemapbenchmark0_G_backoff);
306                         l_defaultattributemapbenchmark0_G_backoff = Math.max(1024, l_defaultattributemapbenchmark0_G_backoff * 2);
307                         if (control.isFailing) throw new FailureAssistException();
308                         if (Thread.interrupted()) throw new InterruptedException();
309                     }
310                 }
311                 synchronized(this.getClass()) {
312                     f_defaultattributemapbenchmark0_G = null;
313                 }
314                 f_keysequence1_0 = null;
315             }
316             res.allOps += res.measuredOps * batchSize;
317             res.allOps *= opsPerInv;
318             res.allOps /= batchSize;
319             res.measuredOps *= opsPerInv;
320             BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps);
321             results.add(new SampleTimeResult(ResultRole.PRIMARY, "nextAttributeIdentityHashMap", buffer, benchmarkParams.getTimeUnit()));
322             this.blackhole.evaporate("Yes, I am Stephen Hawking, and know a thing or two about black holes.");
323             return results;
324         } else
325             throw new IllegalStateException("Harness failed to distribute threads among groups properly");
326     }
327 
328     public static void nextAttributeIdentityHashMap_sample_jmhStub(InfraControl control, RawResults result, BenchmarkParams benchmarkParams, IterationParams iterationParams, ThreadParams threadParams, Blackhole blackhole, Control notifyControl, int startRndMask, SampleBuffer buffer, int targetSamples, long opsPerInv, int batchSize, DefaultAttributeMapBenchmark_KeySequence_jmhType l_keysequence1_0, DefaultAttributeMapBenchmark_jmhType l_defaultattributemapbenchmark0_G) throws Throwable {
329         long realTime = 0;
330         long operations = 0;
331         int rnd = (int)System.nanoTime();
332         int rndMask = startRndMask;
333         long time = 0;
334         int currentStride = 0;
335         do {
336             rnd = (rnd * 1664525 + 1013904223);
337             boolean sample = (rnd & rndMask) == 0;
338             if (sample) {
339                 time = System.nanoTime();
340             }
341             for (int b = 0; b < batchSize; b++) {
342                 if (control.volatileSpoiler) return;
343                 blackhole.consume(l_defaultattributemapbenchmark0_G.nextAttributeIdentityHashMap(l_keysequence1_0));
344             }
345             if (sample) {
346                 buffer.add((System.nanoTime() - time) / opsPerInv);
347                 if (currentStride++ > targetSamples) {
348                     buffer.half();
349                     currentStride = 0;
350                     rndMask = (rndMask << 1) + 1;
351                 }
352             }
353             operations++;
354         } while(!control.isDone);
355         startRndMask = Math.max(startRndMask, rndMask);
356         result.realTime = realTime;
357         result.measuredOps = operations;
358     }
359 
360 
361     public BenchmarkTaskResult nextAttributeIdentityHashMap_SingleShotTime(InfraControl control, ThreadParams threadParams) throws Throwable {
362         this.benchmarkParams = control.benchmarkParams;
363         this.iterationParams = control.iterationParams;
364         this.threadParams    = threadParams;
365         this.notifyControl   = control.notifyControl;
366         if (this.blackhole == null) {
367             this.blackhole = new Blackhole("Today's password is swordfish. I understand instantiating Blackholes directly is dangerous.");
368         }
369         if (threadParams.getSubgroupIndex() == 0) {
370             DefaultAttributeMapBenchmark_jmhType l_defaultattributemapbenchmark0_G = _jmh_tryInit_f_defaultattributemapbenchmark0_G(control);
371             DefaultAttributeMapBenchmark_KeySequence_jmhType l_keysequence1_0 = _jmh_tryInit_f_keysequence1_0(control);
372 
373             control.preSetup();
374             l_keysequence1_0.reset();
375 
376 
377             notifyControl.startMeasurement = true;
378             RawResults res = new RawResults();
379             int batchSize = iterationParams.getBatchSize();
380             nextAttributeIdentityHashMap_ss_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, batchSize, l_keysequence1_0, l_defaultattributemapbenchmark0_G);
381             control.preTearDown();
382 
383             if (control.isLastIteration()) {
384                 if (DefaultAttributeMapBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_defaultattributemapbenchmark0_G, 0, 1)) {
385                     try {
386                         if (control.isFailing) throw new FailureAssistException();
387                         if (l_defaultattributemapbenchmark0_G.readyTrial) {
388                             l_defaultattributemapbenchmark0_G.readyTrial = false;
389                         }
390                     } catch (Throwable t) {
391                         control.isFailing = true;
392                         throw t;
393                     } finally {
394                         DefaultAttributeMapBenchmark_jmhType.tearTrialMutexUpdater.set(l_defaultattributemapbenchmark0_G, 0);
395                     }
396                 } else {
397                     long l_defaultattributemapbenchmark0_G_backoff = 1;
398                     while (DefaultAttributeMapBenchmark_jmhType.tearTrialMutexUpdater.get(l_defaultattributemapbenchmark0_G) == 1) {
399                         TimeUnit.MILLISECONDS.sleep(l_defaultattributemapbenchmark0_G_backoff);
400                         l_defaultattributemapbenchmark0_G_backoff = Math.max(1024, l_defaultattributemapbenchmark0_G_backoff * 2);
401                         if (control.isFailing) throw new FailureAssistException();
402                         if (Thread.interrupted()) throw new InterruptedException();
403                     }
404                 }
405                 synchronized(this.getClass()) {
406                     f_defaultattributemapbenchmark0_G = null;
407                 }
408                 f_keysequence1_0 = null;
409             }
410             int opsPerInv = control.benchmarkParams.getOpsPerInvocation();
411             long totalOps = opsPerInv;
412             BenchmarkTaskResult results = new BenchmarkTaskResult(totalOps, totalOps);
413             results.add(new SingleShotResult(ResultRole.PRIMARY, "nextAttributeIdentityHashMap", res.getTime(), benchmarkParams.getTimeUnit()));
414             this.blackhole.evaporate("Yes, I am Stephen Hawking, and know a thing or two about black holes.");
415             return results;
416         } else
417             throw new IllegalStateException("Harness failed to distribute threads among groups properly");
418     }
419 
420     public static void nextAttributeIdentityHashMap_ss_jmhStub(InfraControl control, RawResults result, BenchmarkParams benchmarkParams, IterationParams iterationParams, ThreadParams threadParams, Blackhole blackhole, Control notifyControl, int startRndMask, int batchSize, DefaultAttributeMapBenchmark_KeySequence_jmhType l_keysequence1_0, DefaultAttributeMapBenchmark_jmhType l_defaultattributemapbenchmark0_G) throws Throwable {
421         long realTime = 0;
422         result.startTime = System.nanoTime();
423         for (int b = 0; b < batchSize; b++) {
424             if (control.volatileSpoiler) return;
425             blackhole.consume(l_defaultattributemapbenchmark0_G.nextAttributeIdentityHashMap(l_keysequence1_0));
426         }
427         result.stopTime = System.nanoTime();
428         result.realTime = realTime;
429     }
430 
431     
432     static volatile DefaultAttributeMapBenchmark_jmhType f_defaultattributemapbenchmark0_G;
433     
434     DefaultAttributeMapBenchmark_jmhType _jmh_tryInit_f_defaultattributemapbenchmark0_G(InfraControl control) throws Throwable {
435         DefaultAttributeMapBenchmark_jmhType val = f_defaultattributemapbenchmark0_G;
436         if (val != null) {
437             return val;
438         }
439         synchronized(this.getClass()) {
440             try {
441             if (control.isFailing) throw new FailureAssistException();
442             val = f_defaultattributemapbenchmark0_G;
443             if (val != null) {
444                 return val;
445             }
446             val = new DefaultAttributeMapBenchmark_jmhType();
447             Field f;
448             f = io.netty5.util.DefaultAttributeMapBenchmark.class.getDeclaredField("keyCount");
449             f.setAccessible(true);
450             f.set(val, Integer.valueOf(control.getParam("keyCount")));
451             val.init();
452             val.readyTrial = true;
453             f_defaultattributemapbenchmark0_G = val;
454             } catch (Throwable t) {
455                 control.isFailing = true;
456                 throw t;
457             }
458         }
459         return val;
460     }
461     
462     DefaultAttributeMapBenchmark_KeySequence_jmhType f_keysequence1_0;
463     
464     DefaultAttributeMapBenchmark_KeySequence_jmhType _jmh_tryInit_f_keysequence1_0(InfraControl control) throws Throwable {
465         if (control.isFailing) throw new FailureAssistException();
466         DefaultAttributeMapBenchmark_KeySequence_jmhType val = f_keysequence1_0;
467         if (val == null) {
468             val = new DefaultAttributeMapBenchmark_KeySequence_jmhType();
469             f_keysequence1_0 = val;
470         }
471         return val;
472     }
473 
474 
475 }
476