< prev index next >

src/hotspot/share/classfile/classPrinter.cpp

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

*** 157,11 ***
      if (_always_print_class_name) {
        print_klass_name(ik);
      }
  
      if (has_mode(_flags, ClassPrinter::PRINT_CLASS_DETAILS)) {
!       _st->print("InstanceKlass: ");
        ik->print_on(_st);
        oop mirror = ik->java_mirror();
        if (mirror != nullptr) {
          _st->print("\nJava mirror oop for %s: ", ik->name()->as_C_string());
          mirror->print_on(_st);
--- 157,11 ---
      if (_always_print_class_name) {
        print_klass_name(ik);
      }
  
      if (has_mode(_flags, ClassPrinter::PRINT_CLASS_DETAILS)) {
!       _st->print("InstanceKlass (kind=%d): ", ik->kind());
        ik->print_on(_st);
        oop mirror = ik->java_mirror();
        if (mirror != nullptr) {
          _st->print("\nJava mirror oop for %s: ", ik->name()->as_C_string());
          mirror->print_on(_st);
< prev index next >