< prev index next >

src/hotspot/share/classfile/moduleEntry.hpp

Print this page




   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 #ifndef SHARE_VM_CLASSFILE_MODULEENTRY_HPP
  26 #define SHARE_VM_CLASSFILE_MODULEENTRY_HPP
  27 

  28 #include "classfile/classLoaderData.hpp"
  29 #include "classfile/vmSymbols.hpp"
  30 #include "oops/oopHandle.hpp"
  31 #include "oops/symbol.hpp"
  32 #include "prims/jni.h"
  33 #include "runtime/jniHandles.hpp"
  34 #include "runtime/mutexLocker.hpp"
  35 #include "trace/traceMacros.hpp"
  36 #include "utilities/growableArray.hpp"
  37 #include "utilities/hashtable.hpp"
  38 #include "utilities/ostream.hpp"
  39 
  40 #define UNNAMED_MODULE "Unnamed Module"
  41 #define JAVAPKG "java"
  42 #define JAVAPKG_LEN 4
  43 #define JAVA_BASE_NAME "java.base"
  44 
  45 class ModuleClosure;
  46 
  47 // A ModuleEntry describes a module that has been defined by a call to JVM_DefineModule.
  48 // It contains:
  49 //   - Symbol* containing the module's name.
  50 //   - pointer to the java.lang.Module for this module.
  51 //   - pointer to the java.security.ProtectionDomain shared by classes defined to this module.
  52 //   - ClassLoaderData*, class loader of this module.




   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 #ifndef SHARE_VM_CLASSFILE_MODULEENTRY_HPP
  26 #define SHARE_VM_CLASSFILE_MODULEENTRY_HPP
  27 
  28 #include "jni.h"
  29 #include "classfile/classLoaderData.hpp"
  30 #include "classfile/vmSymbols.hpp"
  31 #include "oops/oopHandle.hpp"
  32 #include "oops/symbol.hpp"

  33 #include "runtime/jniHandles.hpp"
  34 #include "runtime/mutexLocker.hpp"
  35 #include "trace/traceMacros.hpp"
  36 #include "utilities/growableArray.hpp"
  37 #include "utilities/hashtable.hpp"
  38 #include "utilities/ostream.hpp"
  39 
  40 #define UNNAMED_MODULE "Unnamed Module"
  41 #define JAVAPKG "java"
  42 #define JAVAPKG_LEN 4
  43 #define JAVA_BASE_NAME "java.base"
  44 
  45 class ModuleClosure;
  46 
  47 // A ModuleEntry describes a module that has been defined by a call to JVM_DefineModule.
  48 // It contains:
  49 //   - Symbol* containing the module's name.
  50 //   - pointer to the java.lang.Module for this module.
  51 //   - pointer to the java.security.ProtectionDomain shared by classes defined to this module.
  52 //   - ClassLoaderData*, class loader of this module.


< prev index next >