a-foundation-benchmark/src/main/java/com/ajjpj/afoundation/concurrent/jdk/j9new/ForkJoinPool.java
private int lockRunState() {
        int rs;
        return ((((rs = runState) & RSLOCK) != 0 ||
                 !U.compareAndSwapInt(this, RUNSTATE, rs, rs |= RSLOCK)) ?
                awaitRunStateLock() : rs);
    }
private int lockRunState() {
        int rs;
        return ((((rs = runState) & RSLOCK) != 0 ||
                 !U.compareAndSwapInt(this, RUNSTATE, rs, rs |= RSLOCK)) ?
                awaitRunStateLock() : rs);
    }
private int lockRunState ( ) { int rs ; return ( ( ( ( rs = runState ) & RSLOCK ) != 0 || ! U . compareAndSwapInt ( this , RUNSTATE , rs , rs |= RSLOCK ) ) ? awaitRunStateLock ( ) : rs ) ; }
Acquires the runState lock; returns current (locked) runState.
Acquires the runState lock ; returns current ( locked ) runState .