src/share/vm/classfile/systemDictionary.cpp

Print this page


   1 /*
   2  * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   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/_systemDictionary.cpp.incl"





























  27 
  28 
  29 Dictionary*       SystemDictionary::_dictionary = NULL;
  30 PlaceholderTable* SystemDictionary::_placeholders = NULL;
  31 Dictionary*       SystemDictionary::_shared_dictionary = NULL;
  32 LoaderConstraintTable* SystemDictionary::_loader_constraints = NULL;
  33 ResolutionErrorTable* SystemDictionary::_resolution_errors = NULL;
  34 SymbolPropertyTable* SystemDictionary::_invoke_method_table = NULL;
  35 
  36 
  37 int         SystemDictionary::_number_of_modifications = 0;
  38 
  39 oop         SystemDictionary::_system_loader_lock_obj     =  NULL;
  40 
  41 klassOop    SystemDictionary::_well_known_klasses[SystemDictionary::WKID_LIMIT]
  42                                                           =  { NULL /*, NULL...*/ };
  43 
  44 klassOop    SystemDictionary::_box_klasses[T_VOID+1]      =  { NULL /*, NULL...*/ };
  45 
  46 oop         SystemDictionary::_java_system_loader         =  NULL;


   1 /*
   2  * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   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 "classfile/dictionary.hpp"
  27 #include "classfile/javaClasses.hpp"
  28 #include "classfile/loaderConstraints.hpp"
  29 #include "classfile/placeholders.hpp"
  30 #include "classfile/resolutionErrors.hpp"
  31 #include "classfile/systemDictionary.hpp"
  32 #include "classfile/vmSymbols.hpp"
  33 #include "interpreter/bytecodeStream.hpp"
  34 #include "interpreter/interpreter.hpp"
  35 #include "memory/gcLocker.hpp"
  36 #include "memory/oopFactory.hpp"
  37 #include "oops/instanceKlass.hpp"
  38 #include "oops/instanceRefKlass.hpp"
  39 #include "oops/klass.inline.hpp"
  40 #include "oops/methodDataOop.hpp"
  41 #include "oops/objArrayKlass.hpp"
  42 #include "oops/oop.inline.hpp"
  43 #include "oops/oop.inline2.hpp"
  44 #include "oops/typeArrayKlass.hpp"
  45 #include "prims/jvmtiEnvBase.hpp"
  46 #include "prims/methodHandles.hpp"
  47 #include "runtime/biasedLocking.hpp"
  48 #include "runtime/fieldType.hpp"
  49 #include "runtime/handles.inline.hpp"
  50 #include "runtime/java.hpp"
  51 #include "runtime/javaCalls.hpp"
  52 #include "runtime/mutexLocker.hpp"
  53 #include "runtime/signature.hpp"
  54 #include "services/classLoadingService.hpp"
  55 #include "services/threadService.hpp"
  56 
  57 
  58 Dictionary*       SystemDictionary::_dictionary = NULL;
  59 PlaceholderTable* SystemDictionary::_placeholders = NULL;
  60 Dictionary*       SystemDictionary::_shared_dictionary = NULL;
  61 LoaderConstraintTable* SystemDictionary::_loader_constraints = NULL;
  62 ResolutionErrorTable* SystemDictionary::_resolution_errors = NULL;
  63 SymbolPropertyTable* SystemDictionary::_invoke_method_table = NULL;
  64 
  65 
  66 int         SystemDictionary::_number_of_modifications = 0;
  67 
  68 oop         SystemDictionary::_system_loader_lock_obj     =  NULL;
  69 
  70 klassOop    SystemDictionary::_well_known_klasses[SystemDictionary::WKID_LIMIT]
  71                                                           =  { NULL /*, NULL...*/ };
  72 
  73 klassOop    SystemDictionary::_box_klasses[T_VOID+1]      =  { NULL /*, NULL...*/ };
  74 
  75 oop         SystemDictionary::_java_system_loader         =  NULL;