Mercurial > hg > truffle
comparison truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/utilities/CyclicAssumption.java @ 22157:dc83cc1f94f2
Using fully qualified imports
author | Jaroslav Tulach <jaroslav.tulach@oracle.com> |
---|---|
date | Wed, 16 Sep 2015 11:33:22 +0200 |
parents | f410818cdec8 |
children | a1b3b7894611 |
comparison
equal
deleted
inserted
replaced
22156:50056a161d7f | 22157:dc83cc1f94f2 |
---|---|
22 * or visit www.oracle.com if you need additional information or have any | 22 * or visit www.oracle.com if you need additional information or have any |
23 * questions. | 23 * questions. |
24 */ | 24 */ |
25 package com.oracle.truffle.api.utilities; | 25 package com.oracle.truffle.api.utilities; |
26 | 26 |
27 import java.util.concurrent.atomic.*; | 27 import com.oracle.truffle.api.Assumption; |
28 | |
29 import com.oracle.truffle.api.*; | |
30 import com.oracle.truffle.api.CompilerDirectives.TruffleBoundary; | 28 import com.oracle.truffle.api.CompilerDirectives.TruffleBoundary; |
29 import com.oracle.truffle.api.Truffle; | |
30 import java.util.concurrent.atomic.AtomicReference; | |
31 | 31 |
32 /** | 32 /** |
33 * Holds an {@link Assumption}, and knows how to recreate it with the same properties on | 33 * Holds an {@link Assumption}, and knows how to recreate it with the same properties on |
34 * invalidation. Used so that mutability is isolated in this class, and all other classes that need | 34 * invalidation. Used so that mutability is isolated in this class, and all other classes that need |
35 * an assumption that may be recreated can have a final reference to an object of this class. Note | 35 * an assumption that may be recreated can have a final reference to an object of this class. Note |