src/share/vm/runtime/init.cpp

Print this page




   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
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 # include "incls/_precompiled.incl"
  26 # include "incls/_init.cpp.incl"









  27 
  28 // Initialization done by VM thread in vm_init_globals()
  29 void check_ThreadShadow();
  30 void eventlog_init();
  31 void mutex_init();
  32 void chunkpool_init();
  33 void perfMemory_init();
  34 
  35 // Initialization done by Java thread in init_globals()
  36 void management_init();
  37 void bytecodes_init();
  38 void classLoader_init();
  39 void codeCache_init();
  40 void VM_Version_init();
  41 void stubRoutines_init1();
  42 jint universe_init();  // dependent on codeCache_init and stubRoutines_init
  43 void interpreter_init();  // before any methods loaded
  44 void invocationCounter_init();  // before any methods loaded
  45 void marksweep_init();
  46 void accessFlags_init();




   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
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #include "precompiled.hpp"
  26 #include "code/icBuffer.hpp"
  27 #include "gc_interface/collectedHeap.hpp"
  28 #include "interpreter/bytecodes.hpp"
  29 #include "memory/universe.hpp"
  30 #include "prims/methodHandles.hpp"
  31 #include "runtime/handles.inline.hpp"
  32 #include "runtime/icache.hpp"
  33 #include "runtime/init.hpp"
  34 #include "runtime/safepoint.hpp"
  35 #include "runtime/sharedRuntime.hpp"
  36 
  37 // Initialization done by VM thread in vm_init_globals()
  38 void check_ThreadShadow();
  39 void eventlog_init();
  40 void mutex_init();
  41 void chunkpool_init();
  42 void perfMemory_init();
  43 
  44 // Initialization done by Java thread in init_globals()
  45 void management_init();
  46 void bytecodes_init();
  47 void classLoader_init();
  48 void codeCache_init();
  49 void VM_Version_init();
  50 void stubRoutines_init1();
  51 jint universe_init();  // dependent on codeCache_init and stubRoutines_init
  52 void interpreter_init();  // before any methods loaded
  53 void invocationCounter_init();  // before any methods loaded
  54 void marksweep_init();
  55 void accessFlags_init();