< prev index next >

src/java.base/share/classes/jdk/internal/misc/CarrierThread.java

Print this page
*** 63,11 ***
      /**
       * Mark the start of a blocking operation.
       */
      public boolean beginBlocking() {
          assert Thread.currentThread().isVirtual() && JLA.currentCarrierThread() == this;
-         assert compensating == NOT_COMPENSATING || compensating == COMPENSATING;
  
          if (compensating == NOT_COMPENSATING) {
              // don't preempt when attempting to compensate
              Continuation.pin();
              try {
--- 63,10 ---
< prev index next >