Skip to content

Instantly share code, notes, and snippets.

View richardstartin's full-sized avatar

Richard Startin richardstartin

View GitHub Profile
Java HotSpot(TM) 64-Bit Server VM warning: printing of assembly code is enabled; turning on DebugNonSafepoints to gain additional output
CompilerOracle: print *JVector8.dot
Compiled method (c1) 807 864 % 3 ch.ethz.acl.ngen.precison.JVector8::dot @ 35 (134 bytes)
total in heap [0x000000010f6dd010,0x000000010f6ddbb0] = 2976
relocation [0x000000010f6dd138,0x000000010f6dd1b0] = 120
main code [0x000000010f6dd1c0,0x000000010f6dd640] = 1152
stub code [0x000000010f6dd640,0x000000010f6dd6d0] = 144
oops [0x000000010f6dd6d0,0x000000010f6dd6d8] = 8
metadata [0x000000010f6dd6d8,0x000000010f6dd6e0] = 8
scopes data [0x000000010f6dd6e0,0x000000010f6dd830] = 336
import java.util.concurrent.ThreadLocalRandom;
public class BLSI {
public static void main(String[] args) {
long blackhole = -1L;
while (blackhole != 0L) {
blackhole = blsi(ThreadLocalRandom.current().nextLong());
}
System.out.println(blackhole);