Commit 11c5e8a5 authored by Ivo Anjo's avatar Ivo Anjo

Change visiblity of doTransactionally method to avoid javac's creation of an...

Change visiblity of doTransactionally method to avoid javac's creation of an extra trampoline method
parent bc37704d
......@@ -140,7 +140,7 @@ public final class Transaction {
return doTransactionally(r, false);
}
private native static <V> V doTransactionally(AtomicRunnable<V> r, boolean warmup);
protected native static <V> V doTransactionally(AtomicRunnable<V> r, boolean warmup);
public static short getAbortReason(int txStatus) {
if ((txStatus & ABORT_EXPLICIT) == 0) return -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment