equal
deleted
inserted
replaced
752 * in general be defined to be thread-safe. |
752 * in general be defined to be thread-safe. |
753 */ |
753 */ |
754 protected void setRawResult(T t) { } |
754 protected void setRawResult(T t) { } |
755 |
755 |
756 // Unsafe mechanics |
756 // Unsafe mechanics |
757 private static final sun.misc.Unsafe U = sun.misc.Unsafe.getUnsafe(); |
757 private static final jdk.internal.misc.Unsafe U = jdk.internal.misc.Unsafe.getUnsafe(); |
758 private static final long PENDING; |
758 private static final long PENDING; |
759 static { |
759 static { |
760 try { |
760 try { |
761 PENDING = U.objectFieldOffset |
761 PENDING = U.objectFieldOffset |
762 (CountedCompleter.class.getDeclaredField("pending")); |
762 (CountedCompleter.class.getDeclaredField("pending")); |