Package org.vmmagic.unboxed

Examples of org.vmmagic.unboxed.Address.attempt()


            oldValue = addr.prepareInt();
            if ((oldValue & ObjectFlags.STATUS_FINALIZED) != 0) {
                return;
            }
            newValue = oldValue | ObjectFlags.STATUS_FINALIZED;
        } while (!addr.attempt(oldValue, newValue));
        // } while (!Unsafe.atomicCompareAndSwap(addr, oldValue, newValue));
    }

    /**
     * Stop and block all threads (on all processors) on a GC safe point. Only
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.