diff -r 4ebc2e2fb97c -r 71c04702a3d5 src/hotspot/share/prims/jvmtiEnv.xsl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/hotspot/share/prims/jvmtiEnv.xsl Tue Sep 12 19:03:39 2017 +0200 @@ -0,0 +1,198 @@ + + + + + + + + + + + + + + + + + +// end file prefix - do not modify or remove this line + + + + + + + + + + + // + // functions + // + + + + + + + +jvmtiError +JvmtiEnv:: + + + + + ( + + ) { + + + + if (java_lang_Class::is_primitive(k_mirror)) { + // DO PRIMITIVE CLASS PROCESSING + return JVMTI_ERROR_MUST_POSSESS_CAPABILITY; + } + Klass* k_oop = java_lang_Class::as_Klass(k_mirror); + if (k_oop == NULL) { + return JVMTI_ERROR_INVALID_CLASS; + } + + + + return JVMTI_ERROR_MUST_POSSESS_CAPABILITY; +} /* end + + + + + */ + + + + + + + + + + + + + + + + + + + + + + +// Threads_lock NOT held, java_thread not protected by lock +// java_thread - pre-checked + + + +// Threads_lock NOT held +// + + - NOT pre-checked + + + + + + + +// rmonitor - pre-checked for validity + + + + + +// java_thread - unchecked +// depth - pre-checked as non-negative + + + + + +// method_oop - pre-checked for validity, but may be NULL meaning obsolete method + + + + + + + + + + + +// k_mirror - may be primitive, this must be checked + + + + + + + + + + + +// + + - pre-checked for NULL + + + +// + + - NULL is a valid value, must be checked + + + + + + + + +// + + - pre-checked to be greater than or equal to + + + + + + + + +