< prev index next >

test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/TestHotSpotVMConfig.java

Print this page
@@ -1,7 +1,7 @@
  /*
-  * Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved.
+  * Copyright (c) 2016, 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.

@@ -50,7 +50,10 @@
      public final long handleDeoptStub = getFieldValue("CompilerToVM::Data::SharedRuntime_deopt_blob_unpack", Long.class, "address");
  
      public final int maxOopMapStackOffset = getFieldValue("CompilerToVM::Data::_max_oop_map_stack_offset", Integer.class, "int");
      public final int heapWordSize = getConstant("HeapWordSize", Integer.class);
  
+     // Check field with intx declaration is the same as int64_t.
+     public final int heldMonitorCountOffset = getFieldOffset("JavaThread::_held_monitor_count", Integer.class, "int64_t");
+ 
      public final boolean ropProtection;
  }
< prev index next >