public void handleEvent(final ConduitStreamSourceChannel channel) { while (requestStateUpdater.get(this) != 0) { //if the CAS fails it is because another thread is in the process of changing state //we just immediately retry if (requestStateUpdater.compareAndSet(this, 1, 2)) { try { channel.suspendReads(); } finally { requestStateUpdater.set(this, 1); } return; } } handleEventWithNoRunningRequest(channel); }
this.blackhole = new Blackhole("Today's password is swordfish. I understand instantiating Blackholes directly is dangerous."); if (threadParams.getSubgroupIndex() == 0) { CaseInsensitiveStringEqualsBenchmark_jmhType l_caseinsensitivestringequalsbenchmark0_G = _jmh_tryInit_f_caseinsensitivestringequalsbenchmark0_G(control); control.preSetup(); RawResults res = new RawResults(); int batchSize = iterationParams.getBatchSize(); stringEquals_ss_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, batchSize, l_caseinsensitivestringequalsbenchmark0_G); control.preTearDown(); if (CaseInsensitiveStringEqualsBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_caseinsensitivestringequalsbenchmark0_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); throw t; } finally { CaseInsensitiveStringEqualsBenchmark_jmhType.tearTrialMutexUpdater.set(l_caseinsensitivestringequalsbenchmark0_G, 0); while (CaseInsensitiveStringEqualsBenchmark_jmhType.tearTrialMutexUpdater.get(l_caseinsensitivestringequalsbenchmark0_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_caseinsensitivestringequalsbenchmark0_G_backoff); l_caseinsensitivestringequalsbenchmark0_G_backoff = Math.max(1024, l_caseinsensitivestringequalsbenchmark0_G_backoff * 2); BenchmarkTaskResult results = new BenchmarkTaskResult(totalOps, totalOps); results.add(new SingleShotResult(ResultRole.PRIMARY, "stringEquals", res.getTime(), benchmarkParams.getTimeUnit())); this.blackhole.evaporate("Yes, I am Stephen Hawking, and know a thing or two about black holes."); return results;
this.blackhole = new Blackhole("Today's password is swordfish. I understand instantiating Blackholes directly is dangerous."); if (threadParams.getSubgroupIndex() == 0) { CaseInsensitiveStringEqualsBenchmark_jmhType l_caseinsensitivestringequalsbenchmark0_G = _jmh_tryInit_f_caseinsensitivestringequalsbenchmark0_G(control); control.preSetup(); RawResults res = new RawResults(); int batchSize = iterationParams.getBatchSize(); equalsIgnoreCaseRandomCase_ss_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, batchSize, l_caseinsensitivestringequalsbenchmark0_G); control.preTearDown(); if (CaseInsensitiveStringEqualsBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_caseinsensitivestringequalsbenchmark0_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); throw t; } finally { CaseInsensitiveStringEqualsBenchmark_jmhType.tearTrialMutexUpdater.set(l_caseinsensitivestringequalsbenchmark0_G, 0); while (CaseInsensitiveStringEqualsBenchmark_jmhType.tearTrialMutexUpdater.get(l_caseinsensitivestringequalsbenchmark0_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_caseinsensitivestringequalsbenchmark0_G_backoff); l_caseinsensitivestringequalsbenchmark0_G_backoff = Math.max(1024, l_caseinsensitivestringequalsbenchmark0_G_backoff * 2); BenchmarkTaskResult results = new BenchmarkTaskResult(totalOps, totalOps); results.add(new SingleShotResult(ResultRole.PRIMARY, "equalsIgnoreCaseRandomCase", res.getTime(), benchmarkParams.getTimeUnit())); this.blackhole.evaporate("Yes, I am Stephen Hawking, and know a thing or two about black holes."); return results;
this.blackhole = new Blackhole("Today's password is swordfish. I understand instantiating Blackholes directly is dangerous."); if (threadParams.getSubgroupIndex() == 0) { CaseInsensitiveStringEqualsBenchmark_jmhType l_caseinsensitivestringequalsbenchmark0_G = _jmh_tryInit_f_caseinsensitivestringequalsbenchmark0_G(control); control.preSetup(); RawResults res = new RawResults(); int batchSize = iterationParams.getBatchSize(); collatorEqualsOther_ss_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, batchSize, l_caseinsensitivestringequalsbenchmark0_G); control.preTearDown(); if (CaseInsensitiveStringEqualsBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_caseinsensitivestringequalsbenchmark0_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); throw t; } finally { CaseInsensitiveStringEqualsBenchmark_jmhType.tearTrialMutexUpdater.set(l_caseinsensitivestringequalsbenchmark0_G, 0); while (CaseInsensitiveStringEqualsBenchmark_jmhType.tearTrialMutexUpdater.get(l_caseinsensitivestringequalsbenchmark0_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_caseinsensitivestringequalsbenchmark0_G_backoff); l_caseinsensitivestringequalsbenchmark0_G_backoff = Math.max(1024, l_caseinsensitivestringequalsbenchmark0_G_backoff * 2); BenchmarkTaskResult results = new BenchmarkTaskResult(totalOps, totalOps); results.add(new SingleShotResult(ResultRole.PRIMARY, "collatorEqualsOther", res.getTime(), benchmarkParams.getTimeUnit())); this.blackhole.evaporate("Yes, I am Stephen Hawking, and know a thing or two about black holes."); return results;
this.blackhole = new Blackhole("Today's password is swordfish. I understand instantiating Blackholes directly is dangerous."); if (threadParams.getSubgroupIndex() == 0) { CaseInsensitiveStringEqualsBenchmark_jmhType l_caseinsensitivestringequalsbenchmark0_G = _jmh_tryInit_f_caseinsensitivestringequalsbenchmark0_G(control); control.preSetup(); RawResults res = new RawResults(); int batchSize = iterationParams.getBatchSize(); collatorEqualsCopy_ss_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, batchSize, l_caseinsensitivestringequalsbenchmark0_G); control.preTearDown(); if (CaseInsensitiveStringEqualsBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_caseinsensitivestringequalsbenchmark0_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); throw t; } finally { CaseInsensitiveStringEqualsBenchmark_jmhType.tearTrialMutexUpdater.set(l_caseinsensitivestringequalsbenchmark0_G, 0); while (CaseInsensitiveStringEqualsBenchmark_jmhType.tearTrialMutexUpdater.get(l_caseinsensitivestringequalsbenchmark0_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_caseinsensitivestringequalsbenchmark0_G_backoff); l_caseinsensitivestringequalsbenchmark0_G_backoff = Math.max(1024, l_caseinsensitivestringequalsbenchmark0_G_backoff * 2); BenchmarkTaskResult results = new BenchmarkTaskResult(totalOps, totalOps); results.add(new SingleShotResult(ResultRole.PRIMARY, "collatorEqualsCopy", res.getTime(), benchmarkParams.getTimeUnit())); this.blackhole.evaporate("Yes, I am Stephen Hawking, and know a thing or two about black holes."); return results;
this.blackhole = new Blackhole("Today's password is swordfish. I understand instantiating Blackholes directly is dangerous."); if (threadParams.getSubgroupIndex() == 0) { CaseInsensitiveStringEqualsBenchmark_jmhType l_caseinsensitivestringequalsbenchmark0_G = _jmh_tryInit_f_caseinsensitivestringequalsbenchmark0_G(control); control.preSetup(); RawResults res = new RawResults(); int batchSize = iterationParams.getBatchSize(); toLowerCaseEqualsCopy_ss_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, batchSize, l_caseinsensitivestringequalsbenchmark0_G); control.preTearDown(); if (CaseInsensitiveStringEqualsBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_caseinsensitivestringequalsbenchmark0_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); throw t; } finally { CaseInsensitiveStringEqualsBenchmark_jmhType.tearTrialMutexUpdater.set(l_caseinsensitivestringequalsbenchmark0_G, 0); while (CaseInsensitiveStringEqualsBenchmark_jmhType.tearTrialMutexUpdater.get(l_caseinsensitivestringequalsbenchmark0_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_caseinsensitivestringequalsbenchmark0_G_backoff); l_caseinsensitivestringequalsbenchmark0_G_backoff = Math.max(1024, l_caseinsensitivestringequalsbenchmark0_G_backoff * 2); BenchmarkTaskResult results = new BenchmarkTaskResult(totalOps, totalOps); results.add(new SingleShotResult(ResultRole.PRIMARY, "toLowerCaseEqualsCopy", res.getTime(), benchmarkParams.getTimeUnit())); this.blackhole.evaporate("Yes, I am Stephen Hawking, and know a thing or two about black holes."); return results;
this.blackhole = new Blackhole("Today's password is swordfish. I understand instantiating Blackholes directly is dangerous."); if (threadParams.getSubgroupIndex() == 0) { CaseInsensitiveStringEqualsBenchmark_jmhType l_caseinsensitivestringequalsbenchmark0_G = _jmh_tryInit_f_caseinsensitivestringequalsbenchmark0_G(control); control.preSetup(); RawResults res = new RawResults(); int batchSize = iterationParams.getBatchSize(); equalsIgnoreCaseOther_ss_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, batchSize, l_caseinsensitivestringequalsbenchmark0_G); control.preTearDown(); if (CaseInsensitiveStringEqualsBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_caseinsensitivestringequalsbenchmark0_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); throw t; } finally { CaseInsensitiveStringEqualsBenchmark_jmhType.tearTrialMutexUpdater.set(l_caseinsensitivestringequalsbenchmark0_G, 0); while (CaseInsensitiveStringEqualsBenchmark_jmhType.tearTrialMutexUpdater.get(l_caseinsensitivestringequalsbenchmark0_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_caseinsensitivestringequalsbenchmark0_G_backoff); l_caseinsensitivestringequalsbenchmark0_G_backoff = Math.max(1024, l_caseinsensitivestringequalsbenchmark0_G_backoff * 2); BenchmarkTaskResult results = new BenchmarkTaskResult(totalOps, totalOps); results.add(new SingleShotResult(ResultRole.PRIMARY, "equalsIgnoreCaseOther", res.getTime(), benchmarkParams.getTimeUnit())); this.blackhole.evaporate("Yes, I am Stephen Hawking, and know a thing or two about black holes."); return results;
this.blackhole = new Blackhole("Today's password is swordfish. I understand instantiating Blackholes directly is dangerous."); if (threadParams.getSubgroupIndex() == 0) { CaseInsensitiveStringEqualsBenchmark_jmhType l_caseinsensitivestringequalsbenchmark0_G = _jmh_tryInit_f_caseinsensitivestringequalsbenchmark0_G(control); control.preSetup(); RawResults res = new RawResults(); int batchSize = iterationParams.getBatchSize(); equalsIgnoreCaseCopy_ss_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, batchSize, l_caseinsensitivestringequalsbenchmark0_G); control.preTearDown(); if (CaseInsensitiveStringEqualsBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_caseinsensitivestringequalsbenchmark0_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); throw t; } finally { CaseInsensitiveStringEqualsBenchmark_jmhType.tearTrialMutexUpdater.set(l_caseinsensitivestringequalsbenchmark0_G, 0); while (CaseInsensitiveStringEqualsBenchmark_jmhType.tearTrialMutexUpdater.get(l_caseinsensitivestringequalsbenchmark0_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_caseinsensitivestringequalsbenchmark0_G_backoff); l_caseinsensitivestringequalsbenchmark0_G_backoff = Math.max(1024, l_caseinsensitivestringequalsbenchmark0_G_backoff * 2); BenchmarkTaskResult results = new BenchmarkTaskResult(totalOps, totalOps); results.add(new SingleShotResult(ResultRole.PRIMARY, "equalsIgnoreCaseCopy", res.getTime(), benchmarkParams.getTimeUnit())); this.blackhole.evaporate("Yes, I am Stephen Hawking, and know a thing or two about black holes."); return results;
this.blackhole = new Blackhole("Today's password is swordfish. I understand instantiating Blackholes directly is dangerous."); if (threadParams.getSubgroupIndex() == 0) { CaseInsensitiveStringEqualsBenchmark_jmhType l_caseinsensitivestringequalsbenchmark0_G = _jmh_tryInit_f_caseinsensitivestringequalsbenchmark0_G(control); control.preSetup(); RawResults res = new RawResults(); int batchSize = iterationParams.getBatchSize(); toLowerCaseEqualsOther_ss_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, batchSize, l_caseinsensitivestringequalsbenchmark0_G); control.preTearDown(); if (CaseInsensitiveStringEqualsBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_caseinsensitivestringequalsbenchmark0_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); throw t; } finally { CaseInsensitiveStringEqualsBenchmark_jmhType.tearTrialMutexUpdater.set(l_caseinsensitivestringequalsbenchmark0_G, 0); while (CaseInsensitiveStringEqualsBenchmark_jmhType.tearTrialMutexUpdater.get(l_caseinsensitivestringequalsbenchmark0_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_caseinsensitivestringequalsbenchmark0_G_backoff); l_caseinsensitivestringequalsbenchmark0_G_backoff = Math.max(1024, l_caseinsensitivestringequalsbenchmark0_G_backoff * 2); BenchmarkTaskResult results = new BenchmarkTaskResult(totalOps, totalOps); results.add(new SingleShotResult(ResultRole.PRIMARY, "toLowerCaseEqualsOther", res.getTime(), benchmarkParams.getTimeUnit())); this.blackhole.evaporate("Yes, I am Stephen Hawking, and know a thing or two about black holes."); return results;
this.blackhole = new Blackhole("Today's password is swordfish. I understand instantiating Blackholes directly is dangerous."); if (threadParams.getSubgroupIndex() == 0) { CaseInsensitiveStringEqualsBenchmark_jmhType l_caseinsensitivestringequalsbenchmark0_G = _jmh_tryInit_f_caseinsensitivestringequalsbenchmark0_G(control); control.preSetup(); RawResults res = new RawResults(); int batchSize = iterationParams.getBatchSize(); toLowerCaseEqualsRandomCase_ss_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, batchSize, l_caseinsensitivestringequalsbenchmark0_G); control.preTearDown(); if (CaseInsensitiveStringEqualsBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_caseinsensitivestringequalsbenchmark0_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); throw t; } finally { CaseInsensitiveStringEqualsBenchmark_jmhType.tearTrialMutexUpdater.set(l_caseinsensitivestringequalsbenchmark0_G, 0); while (CaseInsensitiveStringEqualsBenchmark_jmhType.tearTrialMutexUpdater.get(l_caseinsensitivestringequalsbenchmark0_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_caseinsensitivestringequalsbenchmark0_G_backoff); l_caseinsensitivestringequalsbenchmark0_G_backoff = Math.max(1024, l_caseinsensitivestringequalsbenchmark0_G_backoff * 2); BenchmarkTaskResult results = new BenchmarkTaskResult(totalOps, totalOps); results.add(new SingleShotResult(ResultRole.PRIMARY, "toLowerCaseEqualsRandomCase", res.getTime(), benchmarkParams.getTimeUnit())); this.blackhole.evaporate("Yes, I am Stephen Hawking, and know a thing or two about black holes."); return results;
this.blackhole = new Blackhole("Today's password is swordfish. I understand instantiating Blackholes directly is dangerous."); if (threadParams.getSubgroupIndex() == 0) { CaseInsensitiveStringEqualsBenchmark_jmhType l_caseinsensitivestringequalsbenchmark0_G = _jmh_tryInit_f_caseinsensitivestringequalsbenchmark0_G(control); control.preSetup(); RawResults res = new RawResults(); int batchSize = iterationParams.getBatchSize(); stringNotEquals_ss_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, batchSize, l_caseinsensitivestringequalsbenchmark0_G); control.preTearDown(); if (CaseInsensitiveStringEqualsBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_caseinsensitivestringequalsbenchmark0_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); throw t; } finally { CaseInsensitiveStringEqualsBenchmark_jmhType.tearTrialMutexUpdater.set(l_caseinsensitivestringequalsbenchmark0_G, 0); while (CaseInsensitiveStringEqualsBenchmark_jmhType.tearTrialMutexUpdater.get(l_caseinsensitivestringequalsbenchmark0_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_caseinsensitivestringequalsbenchmark0_G_backoff); l_caseinsensitivestringequalsbenchmark0_G_backoff = Math.max(1024, l_caseinsensitivestringequalsbenchmark0_G_backoff * 2); BenchmarkTaskResult results = new BenchmarkTaskResult(totalOps, totalOps); results.add(new SingleShotResult(ResultRole.PRIMARY, "stringNotEquals", res.getTime(), benchmarkParams.getTimeUnit())); this.blackhole.evaporate("Yes, I am Stephen Hawking, and know a thing or two about black holes."); return results;
this.blackhole = new Blackhole("Today's password is swordfish. I understand instantiating Blackholes directly is dangerous."); if (threadParams.getSubgroupIndex() == 0) { CaseInsensitiveStringEqualsBenchmark_jmhType l_caseinsensitivestringequalsbenchmark0_G = _jmh_tryInit_f_caseinsensitivestringequalsbenchmark0_G(control); control.preSetup(); RawResults res = new RawResults(); int batchSize = iterationParams.getBatchSize(); collatorEqualsRandomCase_ss_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, batchSize, l_caseinsensitivestringequalsbenchmark0_G); control.preTearDown(); if (CaseInsensitiveStringEqualsBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_caseinsensitivestringequalsbenchmark0_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); throw t; } finally { CaseInsensitiveStringEqualsBenchmark_jmhType.tearTrialMutexUpdater.set(l_caseinsensitivestringequalsbenchmark0_G, 0); while (CaseInsensitiveStringEqualsBenchmark_jmhType.tearTrialMutexUpdater.get(l_caseinsensitivestringequalsbenchmark0_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_caseinsensitivestringequalsbenchmark0_G_backoff); l_caseinsensitivestringequalsbenchmark0_G_backoff = Math.max(1024, l_caseinsensitivestringequalsbenchmark0_G_backoff * 2); BenchmarkTaskResult results = new BenchmarkTaskResult(totalOps, totalOps); results.add(new SingleShotResult(ResultRole.PRIMARY, "collatorEqualsRandomCase", res.getTime(), benchmarkParams.getTimeUnit())); this.blackhole.evaporate("Yes, I am Stephen Hawking, and know a thing or two about black holes."); return results;
this.blackhole = new Blackhole("Today's password is swordfish. I understand instantiating Blackholes directly is dangerous."); if (threadParams.getSubgroupIndex() == 0) { EnumBenchmark_jmhType l_enumbenchmark0_G = _jmh_tryInit_f_enumbenchmark0_G(control); control.preSetup(); RawResults res = new RawResults(); int batchSize = iterationParams.getBatchSize(); mapEnumCaseInsensitive_ss_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, batchSize, l_enumbenchmark0_G); control.preTearDown(); if (EnumBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_enumbenchmark0_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); throw t; } finally { EnumBenchmark_jmhType.tearTrialMutexUpdater.set(l_enumbenchmark0_G, 0); while (EnumBenchmark_jmhType.tearTrialMutexUpdater.get(l_enumbenchmark0_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_enumbenchmark0_G_backoff); l_enumbenchmark0_G_backoff = Math.max(1024, l_enumbenchmark0_G_backoff * 2); BenchmarkTaskResult results = new BenchmarkTaskResult(totalOps, totalOps); results.add(new SingleShotResult(ResultRole.PRIMARY, "mapEnumCaseInsensitive", res.getTime(), benchmarkParams.getTimeUnit())); this.blackhole.evaporate("Yes, I am Stephen Hawking, and know a thing or two about black holes."); return results;
this.blackhole = new Blackhole("Today's password is swordfish. I understand instantiating Blackholes directly is dangerous."); if (threadParams.getSubgroupIndex() == 0) { EnumMapperBenchmark_jmhType l_enummapperbenchmark0_G = _jmh_tryInit_f_enummapperbenchmark0_G(control); control.preSetup(); RawResults res = new RawResults(); int batchSize = iterationParams.getBatchSize(); mapByExactName_ss_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, batchSize, l_enummapperbenchmark0_G); control.preTearDown(); if (EnumMapperBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_enummapperbenchmark0_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); throw t; } finally { EnumMapperBenchmark_jmhType.tearTrialMutexUpdater.set(l_enummapperbenchmark0_G, 0); while (EnumMapperBenchmark_jmhType.tearTrialMutexUpdater.get(l_enummapperbenchmark0_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_enummapperbenchmark0_G_backoff); l_enummapperbenchmark0_G_backoff = Math.max(1024, l_enummapperbenchmark0_G_backoff * 2); BenchmarkTaskResult results = new BenchmarkTaskResult(totalOps, totalOps); results.add(new SingleShotResult(ResultRole.PRIMARY, "mapByExactName", res.getTime(), benchmarkParams.getTimeUnit())); this.blackhole.evaporate("Yes, I am Stephen Hawking, and know a thing or two about black holes."); return results;
this.blackhole = new Blackhole("Today's password is swordfish. I understand instantiating Blackholes directly is dangerous."); if (threadParams.getSubgroupIndex() == 0) { EnumMapperBenchmark_jmhType l_enummapperbenchmark0_G = _jmh_tryInit_f_enummapperbenchmark0_G(control); control.preSetup(); RawResults res = new RawResults(); int batchSize = iterationParams.getBatchSize(); mapByOrdinal_ss_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, batchSize, l_enummapperbenchmark0_G); control.preTearDown(); if (EnumMapperBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_enummapperbenchmark0_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); throw t; } finally { EnumMapperBenchmark_jmhType.tearTrialMutexUpdater.set(l_enummapperbenchmark0_G, 0); while (EnumMapperBenchmark_jmhType.tearTrialMutexUpdater.get(l_enummapperbenchmark0_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_enummapperbenchmark0_G_backoff); l_enummapperbenchmark0_G_backoff = Math.max(1024, l_enummapperbenchmark0_G_backoff * 2); BenchmarkTaskResult results = new BenchmarkTaskResult(totalOps, totalOps); results.add(new SingleShotResult(ResultRole.PRIMARY, "mapByOrdinal", res.getTime(), benchmarkParams.getTimeUnit())); this.blackhole.evaporate("Yes, I am Stephen Hawking, and know a thing or two about black holes."); return results;
this.blackhole = new Blackhole("Today's password is swordfish. I understand instantiating Blackholes directly is dangerous."); if (threadParams.getSubgroupIndex() == 0) { QualifiersBenchmark_jmhType l_qualifiersbenchmark0_G = _jmh_tryInit_f_qualifiersbenchmark0_G(control); control.preSetup(); RawResults res = new RawResults(); int batchSize = iterationParams.getBatchSize(); getQualifiersUnannotated_ss_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, batchSize, l_qualifiersbenchmark0_G); control.preTearDown(); if (QualifiersBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_qualifiersbenchmark0_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); throw t; } finally { QualifiersBenchmark_jmhType.tearTrialMutexUpdater.set(l_qualifiersbenchmark0_G, 0); while (QualifiersBenchmark_jmhType.tearTrialMutexUpdater.get(l_qualifiersbenchmark0_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_qualifiersbenchmark0_G_backoff); l_qualifiersbenchmark0_G_backoff = Math.max(1024, l_qualifiersbenchmark0_G_backoff * 2); BenchmarkTaskResult results = new BenchmarkTaskResult(totalOps, totalOps); results.add(new SingleShotResult(ResultRole.PRIMARY, "getQualifiersUnannotated", res.getTime(), benchmarkParams.getTimeUnit())); this.blackhole.evaporate("Yes, I am Stephen Hawking, and know a thing or two about black holes."); return results;
this.blackhole = new Blackhole("Today's password is swordfish. I understand instantiating Blackholes directly is dangerous."); if (threadParams.getSubgroupIndex() == 0) { QualifiersBenchmark_jmhType l_qualifiersbenchmark0_G = _jmh_tryInit_f_qualifiersbenchmark0_G(control); control.preSetup(); RawResults res = new RawResults(); int batchSize = iterationParams.getBatchSize(); mapQualifiedBean_ss_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, batchSize, l_qualifiersbenchmark0_G); control.preTearDown(); if (QualifiersBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_qualifiersbenchmark0_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); throw t; } finally { QualifiersBenchmark_jmhType.tearTrialMutexUpdater.set(l_qualifiersbenchmark0_G, 0); while (QualifiersBenchmark_jmhType.tearTrialMutexUpdater.get(l_qualifiersbenchmark0_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_qualifiersbenchmark0_G_backoff); l_qualifiersbenchmark0_G_backoff = Math.max(1024, l_qualifiersbenchmark0_G_backoff * 2); BenchmarkTaskResult results = new BenchmarkTaskResult(totalOps, totalOps); results.add(new SingleShotResult(ResultRole.PRIMARY, "mapQualifiedBean", res.getTime(), benchmarkParams.getTimeUnit())); this.blackhole.evaporate("Yes, I am Stephen Hawking, and know a thing or two about black holes."); return results;
this.blackhole = new Blackhole("Today's password is swordfish. I understand instantiating Blackholes directly is dangerous."); if (threadParams.getSubgroupIndex() == 0) { QualifiersBenchmark_jmhType l_qualifiersbenchmark0_G = _jmh_tryInit_f_qualifiersbenchmark0_G(control); control.preSetup(); RawResults res = new RawResults(); int batchSize = iterationParams.getBatchSize(); getQualifiersAnnotated_ss_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, batchSize, l_qualifiersbenchmark0_G); control.preTearDown(); if (QualifiersBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_qualifiersbenchmark0_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); throw t; } finally { QualifiersBenchmark_jmhType.tearTrialMutexUpdater.set(l_qualifiersbenchmark0_G, 0); while (QualifiersBenchmark_jmhType.tearTrialMutexUpdater.get(l_qualifiersbenchmark0_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_qualifiersbenchmark0_G_backoff); l_qualifiersbenchmark0_G_backoff = Math.max(1024, l_qualifiersbenchmark0_G_backoff * 2); BenchmarkTaskResult results = new BenchmarkTaskResult(totalOps, totalOps); results.add(new SingleShotResult(ResultRole.PRIMARY, "getQualifiersAnnotated", res.getTime(), benchmarkParams.getTimeUnit())); this.blackhole.evaporate("Yes, I am Stephen Hawking, and know a thing or two about black holes."); return results;
this.blackhole = new Blackhole("Today's password is swordfish. I understand instantiating Blackholes directly is dangerous."); if (threadParams.getSubgroupIndex() == 0) { QualifiersBenchmark_jmhType l_qualifiersbenchmark0_G = _jmh_tryInit_f_qualifiersbenchmark0_G(control); control.preSetup(); RawResults res = new RawResults(); int batchSize = iterationParams.getBatchSize(); mapUnqualifiedBean_ss_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, batchSize, l_qualifiersbenchmark0_G); control.preTearDown(); if (QualifiersBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_qualifiersbenchmark0_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); throw t; } finally { QualifiersBenchmark_jmhType.tearTrialMutexUpdater.set(l_qualifiersbenchmark0_G, 0); while (QualifiersBenchmark_jmhType.tearTrialMutexUpdater.get(l_qualifiersbenchmark0_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_qualifiersbenchmark0_G_backoff); l_qualifiersbenchmark0_G_backoff = Math.max(1024, l_qualifiersbenchmark0_G_backoff * 2); BenchmarkTaskResult results = new BenchmarkTaskResult(totalOps, totalOps); results.add(new SingleShotResult(ResultRole.PRIMARY, "mapUnqualifiedBean", res.getTime(), benchmarkParams.getTimeUnit())); this.blackhole.evaporate("Yes, I am Stephen Hawking, and know a thing or two about black holes."); return results;
this.blackhole = new Blackhole("Today's password is swordfish. I understand instantiating Blackholes directly is dangerous."); if (threadParams.getSubgroupIndex() == 0) { EnumMapperBenchmark_jmhType l_enummapperbenchmark0_G = _jmh_tryInit_f_enummapperbenchmark0_G(control); control.preSetup(); RawResults res = new RawResults(); int batchSize = iterationParams.getBatchSize(); mapByRandomCaseName_ss_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, batchSize, l_enummapperbenchmark0_G); control.preTearDown(); if (EnumMapperBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_enummapperbenchmark0_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); throw t; } finally { EnumMapperBenchmark_jmhType.tearTrialMutexUpdater.set(l_enummapperbenchmark0_G, 0); while (EnumMapperBenchmark_jmhType.tearTrialMutexUpdater.get(l_enummapperbenchmark0_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_enummapperbenchmark0_G_backoff); l_enummapperbenchmark0_G_backoff = Math.max(1024, l_enummapperbenchmark0_G_backoff * 2); BenchmarkTaskResult results = new BenchmarkTaskResult(totalOps, totalOps); results.add(new SingleShotResult(ResultRole.PRIMARY, "mapByRandomCaseName", res.getTime(), benchmarkParams.getTimeUnit())); this.blackhole.evaporate("Yes, I am Stephen Hawking, and know a thing or two about black holes."); return results;