src/hotspot/share/prims/jniCheck.cpp
changeset 59016 3b9eeae66fa0
parent 58760 1f7f707c1aa9
equal deleted inserted replaced
59015:b9a85aa023b1 59016:3b9eeae66fa0
    26 #include "jni.h"
    26 #include "jni.h"
    27 #include "jvm.h"
    27 #include "jvm.h"
    28 #include "classfile/javaClasses.inline.hpp"
    28 #include "classfile/javaClasses.inline.hpp"
    29 #include "classfile/systemDictionary.hpp"
    29 #include "classfile/systemDictionary.hpp"
    30 #include "classfile/vmSymbols.hpp"
    30 #include "classfile/vmSymbols.hpp"
       
    31 #include "logging/log.hpp"
       
    32 #include "logging/logTag.hpp"
    31 #include "memory/allocation.inline.hpp"
    33 #include "memory/allocation.inline.hpp"
    32 #include "memory/guardedMemory.hpp"
    34 #include "memory/guardedMemory.hpp"
    33 #include "oops/instanceKlass.hpp"
    35 #include "oops/instanceKlass.hpp"
    34 #include "oops/oop.inline.hpp"
    36 #include "oops/oop.inline.hpp"
    35 #include "oops/symbol.hpp"
    37 #include "oops/symbol.hpp"
  2301              sizeof(*unchecked_jni_NativeInterface) - sizeof(char *));)
  2303              sizeof(*unchecked_jni_NativeInterface) - sizeof(char *));)
  2302   assert(*lastPtr != 0,
  2304   assert(*lastPtr != 0,
  2303          "Mismatched JNINativeInterface tables, check for new entries");
  2305          "Mismatched JNINativeInterface tables, check for new entries");
  2304 
  2306 
  2305   // with -verbose:jni this message will print
  2307   // with -verbose:jni this message will print
  2306   if (PrintJNIResolving) {
  2308   log_debug(jni, resolve)("Checked JNI functions are being used to validate JNI usage");
  2307     tty->print_cr("Checked JNI functions are being used to " \
       
  2308                   "validate JNI usage");
       
  2309   }
       
  2310 
  2309 
  2311   return &checked_jni_NativeInterface;
  2310   return &checked_jni_NativeInterface;
  2312 }
  2311 }