< prev index next >

src/java.base/share/classes/jdk/internal/foreign/abi/CallingSequence.java

Print this page
*** 190,11 ***
                  .mapToInt(CapturableState::mask)
                  .reduce(0, (a, b) -> a | b);
      }
  
      public boolean needsTransition() {
!         return !linkerOptions.isTrivial();
      }
  
      public int numLeadingParams() {
          return 2 + (linkerOptions.hasCapturedCallState() ? 1 : 0); // 2 for addr, allocator
      }
--- 190,11 ---
                  .mapToInt(CapturableState::mask)
                  .reduce(0, (a, b) -> a | b);
      }
  
      public boolean needsTransition() {
!         return !linkerOptions.isCritical();
      }
  
      public int numLeadingParams() {
          return 2 + (linkerOptions.hasCapturedCallState() ? 1 : 0); // 2 for addr, allocator
      }
< prev index next >