changeset 53562:92960e69996d nestmates

Summary: change field name so that hotspot serviceability/sa tests pass. Reviewed-by: lfoltan, mchung
author hseigel
date Tue, 08 Jan 2019 16:40:19 -0500
parents ec8dd2a70657
children 362ea68cd50c
files src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/classfile/ClassLoaderData.java
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/classfile/ClassLoaderData.java	Thu Dec 20 07:04:07 2018 -0500
+++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/classfile/ClassLoaderData.java	Tue Jan 08 16:40:19 2019 -0500
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012, 2019, 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
@@ -45,14 +45,14 @@
     classLoaderField = type.getAddressField("_class_loader");
     nextField = type.getAddressField("_next");
     klassesField = new MetadataField(type.getAddressField("_klasses"), 0);
-    isUnsafeAnonymousField = new CIntField(type.getCIntegerField("_is_unsafe_anonymous"), 0);
+    isShortlivedField = new CIntField(type.getCIntegerField("_is_shortlived"), 0);
     dictionaryField = type.getAddressField("_dictionary");
   }
 
   private static AddressField   classLoaderField;
   private static AddressField nextField;
   private static MetadataField  klassesField;
-  private static CIntField isUnsafeAnonymousField;
+  private static CIntField isShortlivedField;
   private static AddressField dictionaryField;
 
   public ClassLoaderData(Address addr) {
@@ -81,8 +81,8 @@
     return null;
   }
 
-  public boolean getisUnsafeAnonymous() {
-    return isUnsafeAnonymousField.getValue(this) != 0;
+  public boolean getisShortlived() {
+    return isShortlivedField.getValue(this) != 0;
   }
 
   public ClassLoaderData next() {