< prev index next >

src/hotspot/share/memory/universe.hpp

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.

*** 127,13 ***
    static bool _bootstrapping;                         // true during genesis
    static bool _module_initialized;                    // true after call_initPhase2 called
    static bool _fully_initialized;                     // true after universe_init and initialize_vtables called
  
    // the array of preallocated errors with backtraces
!   static objArrayOop  preallocated_out_of_memory_errors();
  
!   static objArrayOop out_of_memory_errors();
    // generate an out of memory error; if possible using an error with preallocated backtrace;
    // otherwise return the given default error.
    static oop        gen_out_of_memory_error(oop default_err);
  
    static OopStorage* _vm_weak;
--- 127,13 ---
    static bool _bootstrapping;                         // true during genesis
    static bool _module_initialized;                    // true after call_initPhase2 called
    static bool _fully_initialized;                     // true after universe_init and initialize_vtables called
  
    // the array of preallocated errors with backtraces
!   static refArrayOop preallocated_out_of_memory_errors();
  
!   static refArrayOop out_of_memory_errors();
    // generate an out of memory error; if possible using an error with preallocated backtrace;
    // otherwise return the given default error.
    static oop        gen_out_of_memory_error(oop default_err);
  
    static OopStorage* _vm_weak;

*** 251,10 ***
--- 251,13 ---
    static Method*      loader_addClass_method();
    static Method*      throw_illegal_access_error();
    static Method*      throw_no_such_method_error();
    static Method*      do_stack_walk_method();
  
+   static Method*      is_substitutable_method();
+   static Method*      value_object_hash_code_method();
+ 
    static oop          the_null_sentinel();
    static address      the_null_sentinel_addr()        { return (address) &_the_null_sentinel;  }
  
    // Function to initialize these
    static void initialize_known_methods(JavaThread* current);
< prev index next >