< prev index next >

test/lib/jdk/test/whitebox/WhiteBox.java

Print this page
*** 1,7 ***
  /*
!  * Copyright (c) 2012, 2023, Oracle and/or its affiliates. All rights reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.
--- 1,7 ---
  /*
!  * Copyright (c) 2012, 2024, Oracle and/or its affiliates. All rights reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.

*** 117,10 ***
--- 117,14 ---
    public         boolean isMonitorInflated(Object obj) {
      Objects.requireNonNull(obj);
      return isMonitorInflated0(obj);
    }
  
+   public native int getLockStackCapacity();
+ 
+   public native boolean supportsRecursiveLightweightLocking();
+ 
    public native void forceSafepoint();
  
    private native long getConstantPool0(Class<?> aClass);
    public         long getConstantPool(Class<?> aClass) {
      Objects.requireNonNull(aClass);
< prev index next >