< prev index next >

src/jdk.jdwp.agent/share/native/libjdwp/util.h

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

@@ -71,10 +71,11 @@
  typedef struct RefNode {
      jlong        seqNum;        /* ID of reference, also key for hash table */
      jobject      ref;           /* could be strong or weak */
      struct RefNode *next;       /* next RefNode* in bucket chain */
      jint         count;         /* count of references */
+     jboolean     isValueObject; /* references to value objects are always strong */
      jboolean     isPinAll;      /* true if this is a strong reference due to a commonRef_pinAll() */
      jboolean     isCommonPin;   /* true if this is a strong reference due to a commonRef_pin() */
  } RefNode;
  
  /* Value of a NULL ID */
< prev index next >