Skip to content

Instantly share code, notes, and snippets.

View JohnTortugo's full-sized avatar
🎯
Focusing

Cesar Soares JohnTortugo

🎯
Focusing
View GitHub Profile
[2.701s][debug][codecache] Flushing nmethod 22/0x00007f71e9874a08, level=3, osr=0, cold=1, epoch=4, cold_count=2. Cache capacity: 7552Kb, free space: 13003Kb. method length
[2.701s][debug][codecache] Flushing nmethod 32/0x00007f71e9876288, level=3, osr=0, cold=1, epoch=4, cold_count=2. Cache capacity: 7552Kb, free space: 13003Kb. method map
[2.701s][debug][codecache] Flushing nmethod 72/0x00007f71e9925908, level=3, osr=0, cold=1, epoch=4, cold_count=2. Cache capacity: 7552Kb, free space: 13003Kb. method ensureCapacityInternal
[2.701s][debug][codecache] Flushing nmethod 137/0x00007f71e9adcd08, level=3, osr=0, cold=1, epoch=4, cold_count=2. Cache capacity: 7552Kb, free space: 13003Kb. method equals
[2.701s][debug][codecache] Flushing nmethod 118/0x00007f71e9add108, level=3, osr=0, cold=1, epoch=4, cold_count=2. Cache capacity: 7552Kb, free space: 13003Kb. method getShortUnaligned
[2.701s][debug][codecache] Flushing nmethod 109/0x00007f71e9adda88, level=3, osr=0, cold=1, epoch=4, cold_count=2. Cache capacity:
import org.graalvm.polyglot.Context;
import org.graalvm.polyglot.Engine;
import org.graalvm.polyglot.Source;
import org.graalvm.polyglot.Value;
import org.graalvm.polyglot.proxy.ProxyObject;
public class ProxyFieldAccess {
private static final int BENCH_ITERATIONS = 11000;
private static long[] times = new long[BENCH_ITERATIONS];
private static Double[] results = new Double[BENCH_ITERATIONS];