src/hotspot/share/memory/universe.hpp
changeset 48942 a6c4b85163c1
parent 48826 c4d9d1b08e2e
child 49067 c153e9daadce
equal deleted inserted replaced
48941:4f11514fe783 48942:a6c4b85163c1
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   462   static inline bool field_type_should_be_aligned(BasicType type);
   462   static inline bool field_type_should_be_aligned(BasicType type);
   463   static bool        on_page_boundary(void* addr);
   463   static bool        on_page_boundary(void* addr);
   464   static bool        should_fill_in_stack_trace(Handle throwable);
   464   static bool        should_fill_in_stack_trace(Handle throwable);
   465   static void check_alignment(uintx size, uintx alignment, const char* name);
   465   static void check_alignment(uintx size, uintx alignment, const char* name);
   466 
   466 
   467   // Finalizer support.
       
   468   static void run_finalizers_on_exit();
       
   469 
       
   470   // Iteration
   467   // Iteration
   471 
   468 
   472   // Apply "f" to the addresses of all the direct heap pointers maintained
   469   // Apply "f" to the addresses of all the direct heap pointers maintained
   473   // as static fields of "Universe".
   470   // as static fields of "Universe".
   474   static void oops_do(OopClosure* f, bool do_all = false);
   471   static void oops_do(OopClosure* f, bool do_all = false);