< prev index next >

src/hotspot/share/utilities/accessFlags.cpp

Print this page
*** 1,7 ***
  /*
!  * Copyright (c) 1997, 2025, 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) 1997, 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.

*** 21,10 ***
--- 21,11 ---
   * questions.
   *
   */
  
  #include "oops/oop.inline.hpp"
+ #include "runtime/arguments.hpp"
  #include "runtime/atomicAccess.hpp"
  #include "utilities/accessFlags.hpp"
  
  #if !defined(PRODUCT) || INCLUDE_JVMTI
  

*** 39,10 ***
--- 40,14 ---
    if (is_transient   ()) st->print("transient "   );
    if (is_native      ()) st->print("native "      );
    if (is_interface   ()) st->print("interface "   );
    if (is_abstract    ()) st->print("abstract "    );
    if (is_synthetic   ()) st->print("synthetic "   );
+   if (Arguments::is_valhalla_enabled()) {
+     if (is_identity_class()) st->print("identity ");
+     if (!is_identity_class()) st->print("value "  );
+   }
  }
  
  #endif // !PRODUCT || INCLUDE_JVMTI
  
  void accessFlags_init() {
< prev index next >