code: public final short setForkJoinTaskTag(short newValue) {
      for (int s;;) {
        if (U.compareAndSwapInt(this, STATUS, s = status, (s & ~SMASK) | (newValue & SMASK)))
          return (short) s;
      }
    }
docs: Atomically sets the tag value for this task and returns the old value.
  
  @param newValue the new tag value
  @return the previous value of the tag
  @since 1.8