< prev index next >

src/hotspot/share/cds/cdsHeapVerifier.hpp

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

*** 25,10 ***
--- 25,11 ---
  #ifndef SHARE_CDS_CDSHEAPVERIFIER_HPP
  #define SHARE_CDS_CDSHEAPVERIFIER_HPP
  
  #include "cds/heapShared.hpp"
  #include "memory/iterator.hpp"
+ #include "oops/oopHandle.hpp"
  #include "utilities/growableArray.hpp"
  #include "utilities/resourceHash.hpp"
  
  class InstanceKlass;
  class Symbol;

*** 78,11 ***
  
    // Overrides KlassClosure::do_klass()
    virtual void do_klass(Klass* k);
  
    // For ResourceHashtable::iterate()
!   inline bool do_entry(oop& orig_obj, HeapShared::CachedOopInfo& value);
  
    static void verify();
  
    static void trace_to_root(outputStream* st, oop orig_obj);
  };
--- 79,11 ---
  
    // Overrides KlassClosure::do_klass()
    virtual void do_klass(Klass* k);
  
    // For ResourceHashtable::iterate()
!   inline bool do_entry(OopHandle& orig_obj, HeapShared::CachedOopInfo& value);
  
    static void verify();
  
    static void trace_to_root(outputStream* st, oop orig_obj);
  };
< prev index next >