# JMH 1.10.2 (released 246550802 EST 786041152 MST 897074030 HST 1205555397 Europe/Moscow 1543974463 Europe/Moscow 2 days ago) # VM invoker: /home/shade/trunks/jdk9-dev/build/linux-x86_64-normal-server-release/jdk/bin/java # VM options: -XX:+UseParallelGC # Warmup: 5 iterations, 1 s each # Measurement: 5 iterations, 1 s each # Timeout: 10 min per iteration # Threads: 1 thread, will synchronize iterations # Benchmark mode: Average time, time/op # Benchmark: org.openjdk.G1Barriers.test # Run progress: 0.00% complete, ETA 00:00:10 # Fork: 1 of 1 # Preparing profilers: LinuxPerfAsmProfiler # Profilers consume stdout and stderr from target VM, use -v EXTRA to copy to console # Warmup Iteration 1: 1.093 ns/op # Warmup Iteration 2: 1.081 ns/op # Warmup Iteration 3: 1.074 ns/op # Warmup Iteration 4: 1.074 ns/op # Warmup Iteration 5: 1.075 ns/op Iteration 1: 1.073 ns/op Iteration 2: 1.073 ns/op Iteration 3: 1.075 ns/op Iteration 4: 1.077 ns/op Iteration 5: 1.073 ns/op # Processing profiler results: LinuxPerfAsmProfiler Result "test": 1.074 ±(99.9%) 0.007 ns/op [Average] (min, avg, max) = (1.073, 1.074, 1.077), stdev = 0.002 CI (99.9%): [1.067, 1.081] (assumes normal distribution) Secondary result "·asm": PrintAssembly processed: 153082 total address lines. Perf output processed (skipped 5.106 seconds): Column 1: cycles (7328 events) Column 2: instructions (7313 events) Hottest code regions (>10.00% "cycles" events): ....[Hottest Region 1].............................................................................. [0x7f3e33a52fed:0x7f3e33a53054] in org.openjdk.generated.G1Barriers_test::test_avgt_jmhStub ; - org.openjdk.generated.G1Barriers_test::test_avgt_jmhStub@14 (line 199) 0x00007f3e33a52fed: movzbl 0x94(%r14),%r11d ;*getfield isDone ; - org.openjdk.generated.G1Barriers_test::test_avgt_jmhStub@24 (line 201) ; implicit exception: dispatches to 0x00007f3e33a530b1 0x00007f3e33a52ff5: mov $0x1,%ebp 0x00007f3e33a52ffa: test %r11d,%r11d ╭ 0x00007f3e33a52ffd: jne 0x00007f3e33a53043 ;*ifeq │ ; - org.openjdk.generated.G1Barriers_test::test_avgt_jmhStub@27 (line 201) │ 0x00007f3e33a52fff: nop ;*aload_3 │ ; - org.openjdk.generated.G1Barriers_test::test_avgt_jmhStub@13 (line 199) 1.92% 2.28% │↗ 0x00007f3e33a53000: mov 0x10(%r8),%r10d ;*getfield value ││ ; - org.openjdk.G1Barriers::test@7 (line 57) ││ ; - org.openjdk.generated.G1Barriers_test::test_avgt_jmhStub@14 (line 199) 10.56% 9.38% ││ 0x00007f3e33a53004: mov 0xc(%r8),%ecx ;*getfield receiver ││ ; - org.openjdk.G1Barriers::test@1 (line 56) ││ ; - org.openjdk.generated.G1Barriers_test::test_avgt_jmhStub@14 (line 199) 7.75% 7.32% ││ 0x00007f3e33a53008: test %ecx,%ecx ││ 0x00007f3e33a5300a: je 0x00007f3e33a53068 3.04% 3.20% ││ 0x00007f3e33a5300c: mov %r10d,0xc(%r12,%rcx,8) ;*putfield v ││ ; - org.openjdk.G1Barriers::test@10 (line 57) ││ ; - org.openjdk.generated.G1Barriers_test::test_avgt_jmhStub@14 (line 199) 10.02% 9.53% ││ 0x00007f3e33a53011: mov %r10d,0x14(%r8) ;*putfield sink ││ ; - org.openjdk.G1Barriers::test@18 (line 58) ││ ; - org.openjdk.generated.G1Barriers_test::test_avgt_jmhStub@14 (line 199) 10.04% 10.23% ││ 0x00007f3e33a53015: movzbl 0x94(%r14),%r11d ;*getfield isDone ││ ; - org.openjdk.generated.G1Barriers_test::test_avgt_jmhStub@24 (line 201) 3.44% 3.77% ││ 0x00007f3e33a5301d: mov %r8,%r10 2.63% 2.67% ││ 0x00007f3e33a53020: add $0x1,%rbp ;*ladd ││ ; - org.openjdk.generated.G1Barriers_test::test_avgt_jmhStub@20 (line 200) 6.58% 7.34% ││ 0x00007f3e33a53024: shr $0x9,%r10 8.67% 8.98% ││ 0x00007f3e33a53028: shl $0x3,%rcx 3.51% 4.13% ││ 0x00007f3e33a5302c: shr $0x9,%rcx 2.84% 2.91% ││ 0x00007f3e33a53030: mov %r12b,(%r9,%rcx,1) ;*putfield v ││ ; - org.openjdk.G1Barriers::test@10 (line 57) ││ ; - org.openjdk.generated.G1Barriers_test::test_avgt_jmhStub@14 (line 199) 13.03% 12.31% ││ 0x00007f3e33a53034: mov %r12b,(%r9,%r10,1) ; ImmutableOopMap{r8=Oop rbx=Oop r14=Oop } ││ ;*ifeq ││ ; - org.openjdk.generated.G1Barriers_test::test_avgt_jmhStub@27 (line 201) 8.28% 8.35% ││ 0x00007f3e33a53038: test %eax,0xe5d8fc2(%rip) # 0x00007f3e4202c000 ││ ; {poll} 3.40% 3.53% ││ 0x00007f3e33a5303e: test %r11d,%r11d │╰ 0x00007f3e33a53041: je 0x00007f3e33a53000 ;*aload_2 │ ; - org.openjdk.generated.G1Barriers_test::test_avgt_jmhStub@30 (line 202) ↘ 0x00007f3e33a53043: movabs $0x7f3e40d0d0a0,%r10 0x00007f3e33a5304d: callq *%r10 ;*invokestatic nanoTime ; - org.openjdk.generated.G1Barriers_test::test_avgt_jmhStub@31 (line 202) 0x00007f3e33a53050: mov %rbp,0x18(%rbx) ;*putfield measuredOps ; - org.openjdk.generated.G1Barriers_test::test_avgt_jmhStub@46 (line 204) 0x00007f3e33a53054: mov %rax,0x30(%rbx) ;*putfield stopTime ; - org.openjdk.generated.G1Barriers_test::test_avgt_jmhStub@34 (line 202) .................................................................................................... 95.72% 95.94% ....[Hottest Regions]............................................................................... 95.72% 95.94% [0x7f3e33a52fed:0x7f3e33a53054] in org.openjdk.generated.G1Barriers_test::test_avgt_jmhStub 2.16% 2.13% [0xffffffff8105b83a:0xffffffff8105b83a] in [unknown] ([unknown]) 0.10% 0.04% [0xffffffff811ee6e8:0xffffffff811ee775] in [unknown] ([unknown]) 0.07% [0xffffffff817b5e50:0xffffffff817b5ecd] in [unknown] ([unknown]) 0.05% 0.01% [0xffffffff810d3027:0xffffffff810d305c] in [unknown] ([unknown]) 0.05% 0.01% [0xffffffff817b3c20:0xffffffff817b3c80] in [unknown] ([unknown]) 0.05% [0xffffffff817b569a:0xffffffff817b56ab] in [unknown] ([unknown]) 0.05% 0.04% [0x7f3e40da23f5:0x7f3e40da2487] in _ZN13RelocIterator10set_limitsEPhS0_ (libjvm.so) 0.04% 0.04% [0xffffffff8102cdb4:0xffffffff8102cdb4] in [unknown] ([unknown]) 0.04% 0.05% [0xffffffff81032b28:0xffffffff81032b66] in [unknown] ([unknown]) 0.04% 0.10% [0x7f3e40d18bdb:0x7f3e40d18c10] in _ZN10fileStream5writeEPKcm (libjvm.so) 0.03% 0.03% [0xffffffff811ec04f:0xffffffff811ec08c] in [unknown] ([unknown]) 0.03% [0xffffffff811ecca6:0xffffffff811eccce] in [unknown] ([unknown]) 0.03% 0.04% [0xffffffff812071ad:0xffffffff8120725f] in [unknown] ([unknown]) 0.03% [0xffffffff8126e988:0xffffffff8126e99e] in [unknown] ([unknown]) 0.03% [0xffffffff817b1b12:0xffffffff817b1b1a] in [unknown] ([unknown]) 0.03% [0xffffffff817b5a00:0xffffffff817b5a06] in [unknown] ([unknown]) 0.03% [0x7f3e2bad2c01:0x7f3e2bad2c28] in decode_instructions_virtual (libhsdis-amd64.so) 0.03% [0x7f3e40cda4ea:0x7f3e40cda4ea] in _ZN7Monitor5ILockEP6Thread (libjvm.so) 0.03% 0.01% [0x7f3e40d1cb08:0x7f3e40d1cb16] in _ZN13defaultStream5writeEPKcm (libjvm.so) 1.35% 1.49% <...other 148 warm regions...> .................................................................................................... 99.97% 99.95% ....[Hottest Methods (after inlining)].............................................................. 95.72% 95.94% org.openjdk.generated.G1Barriers_test::test_avgt_jmhStub 3.29% 2.87% [unknown] ([unknown]) 0.05% 0.04% _ZN13RelocIterator10set_limitsEPhS0_ (libjvm.so) 0.04% _ZN10decode_env12handle_eventEPKcPh (libjvm.so) 0.04% 0.10% _ZN10fileStream5writeEPKcm (libjvm.so) 0.03% _ZN7Monitor5ILockEP6Thread (libjvm.so) 0.03% 0.01% _ZN13defaultStream4holdEl (libjvm.so) 0.03% 0.01% print_insn (libhsdis-amd64.so) 0.03% 0.08% vfprintf (libc-2.19.so) 0.03% 0.04% _IO_default_xsputn (libc-2.19.so) 0.03% 0.04% __GI___libc_write (libc-2.19.so) 0.03% __memcpy_sse2_unaligned (libc-2.19.so) 0.03% 0.01% _ZN13defaultStream5writeEPKcm (libjvm.so) 0.03% decode_instructions_virtual (libhsdis-amd64.so) 0.01% _ZN13defaultStream5flushEv (libjvm.so) 0.01% _ZN24DebugInformationRecorder27find_sharable_decode_offsetEi.part.130 (libjvm.so) 0.01% 0.05% jio_print (libjvm.so) 0.01% 0.03% _ZN9xmlStream10write_textEPKcm; _ZN13xmlTextStream5writeEPKcm (libjvm.so) 0.01% pthread_self (libc-2.19.so) 0.01% _IO_file_sync@@GLIBC_2.2.5 (libc-2.19.so) 0.50% 0.30% <...other 37 warm methods...> .................................................................................................... 99.97% 99.54% ....[Distribution by Area].......................................................................... 95.77% 95.97% 3.29% 2.87% 0.52% 0.57% 0.27% 0.48% 0.08% 0.03% 0.04% 0.01% .................................................................................................... 99.97% 99.95% # Run complete. Total time: 00:00:12 Benchmark Mode Cnt Score Error Units G1Barriers.test avgt 5 1.074 ± 0.007 ns/op G1Barriers.test:·asm avgt NaN ---