corda/classpath/avian/Machine.java

26 lines
606 B
Java
Raw Normal View History

/* Copyright (c) 2008-2013, Avian Contributors
2009-05-26 05:31:13 +00:00
Permission to use, copy, modify, and/or distribute this software
for any purpose with or without fee is hereby granted, provided
that the above copyright notice and this permission notice appear
in all copies.
There is NO WARRANTY for this software. See license.txt for
details. */
package avian;
import sun.misc.Unsafe;
2009-05-26 05:31:13 +00:00
public abstract class Machine {
private static final Unsafe unsafe = Unsafe.getUnsafe();
2009-05-26 05:31:13 +00:00
public static native void dumpHeap(String outputFile);
public static Unsafe getUnsafe() {
return unsafe;
}
2009-05-26 05:31:13 +00:00
}