< prev index next >

src/hotspot/share/prims/whitebox.cpp

Print this page

  35 #include "classfile/javaClasses.inline.hpp"
  36 #include "classfile/modules.hpp"
  37 #include "classfile/stringTable.hpp"
  38 #include "classfile/symbolTable.hpp"
  39 #include "classfile/systemDictionary.hpp"
  40 #include "classfile/vmSymbols.hpp"
  41 #include "code/codeCache.hpp"
  42 #include "compiler/compilationPolicy.hpp"
  43 #include "compiler/compilerOracle.hpp"
  44 #include "compiler/directivesParser.hpp"
  45 #include "compiler/methodMatcher.hpp"
  46 #include "gc/shared/concurrentGCBreakpoints.hpp"
  47 #include "gc/shared/gcConfig.hpp"
  48 #include "gc/shared/genArguments.hpp"
  49 #include "jvm.h"
  50 #include "jvmtifiles/jvmtiEnv.hpp"
  51 #include "logging/log.hpp"
  52 #include "memory/iterator.hpp"
  53 #include "memory/memoryReserver.hpp"
  54 #include "memory/metadataFactory.hpp"

  55 #include "memory/metaspace/testHelpers.hpp"
  56 #include "memory/metaspaceUtils.hpp"
  57 #include "memory/oopFactory.hpp"
  58 #include "memory/resourceArea.hpp"
  59 #include "memory/universe.hpp"
  60 #include "nmt/mallocSiteTable.hpp"

  61 #include "oops/array.hpp"
  62 #include "oops/compressedOops.hpp"

  63 #include "oops/constantPool.inline.hpp"
  64 #include "oops/klass.inline.hpp"
  65 #include "oops/method.inline.hpp"
  66 #include "oops/methodData.inline.hpp"
  67 #include "oops/objArrayKlass.hpp"
  68 #include "oops/objArrayOop.inline.hpp"
  69 #include "oops/oop.inline.hpp"

  70 #include "oops/typeArrayOop.inline.hpp"
  71 #include "prims/jvmtiEnvBase.hpp"
  72 #include "prims/resolvedMethodTable.hpp"
  73 #include "prims/wbtestmethods/parserTests.hpp"
  74 #include "prims/whitebox.inline.hpp"
  75 #include "runtime/arguments.hpp"
  76 #include "runtime/atomic.hpp"
  77 #include "runtime/deoptimization.hpp"
  78 #include "runtime/fieldDescriptor.inline.hpp"
  79 #include "runtime/flags/jvmFlag.hpp"
  80 #include "runtime/flags/jvmFlagAccess.hpp"
  81 #include "runtime/frame.inline.hpp"
  82 #include "runtime/handles.inline.hpp"
  83 #include "runtime/handshake.hpp"
  84 #include "runtime/interfaceSupport.inline.hpp"
  85 #include "runtime/javaCalls.hpp"
  86 #include "runtime/javaThread.inline.hpp"
  87 #include "runtime/jniHandles.inline.hpp"

  88 #include "runtime/lightweightSynchronizer.hpp"
  89 #include "runtime/lockStack.hpp"
  90 #include "runtime/os.hpp"
  91 #include "runtime/stackFrameStream.inline.hpp"
  92 #include "runtime/synchronizer.hpp"
  93 #include "runtime/threadSMR.hpp"
  94 #include "runtime/vframe.hpp"
  95 #include "runtime/vm_version.hpp"
  96 #include "services/memoryService.hpp"
  97 #include "utilities/align.hpp"
  98 #include "utilities/checkedCast.hpp"
  99 #include "utilities/debug.hpp"
 100 #include "utilities/elfFile.hpp"
 101 #include "utilities/exceptions.hpp"
 102 #include "utilities/macros.hpp"
 103 #include "utilities/nativeCallStack.hpp"
 104 #include "utilities/ostream.hpp"
 105 #include "utilities/vmError.hpp"
 106 #if INCLUDE_G1GC
 107 #include "gc/g1/g1Arguments.hpp"

1928   VMThread::execute(&force_safepoint_op);
1929 WB_END
1930 
1931 WB_ENTRY(void, WB_ForceClassLoaderStatsSafepoint(JNIEnv* env, jobject wb))
1932   nullStream dev_null;
1933   ClassLoaderStatsVMOperation force_op(&dev_null);
1934   VMThread::execute(&force_op);
1935 WB_END
1936 
1937 WB_ENTRY(jlong, WB_GetConstantPool(JNIEnv* env, jobject wb, jclass klass))
1938   InstanceKlass* ik = InstanceKlass::cast(java_lang_Class::as_Klass(JNIHandles::resolve(klass)));
1939   return (jlong) ik->constants();
1940 WB_END
1941 
1942 WB_ENTRY(jobjectArray, WB_GetResolvedReferences(JNIEnv* env, jobject wb, jclass klass))
1943   InstanceKlass* ik = InstanceKlass::cast(java_lang_Class::as_Klass(JNIHandles::resolve(klass)));
1944   objArrayOop resolved_refs= ik->constants()->resolved_references();
1945   return (jobjectArray)JNIHandles::make_local(THREAD, resolved_refs);
1946 WB_END
1947 







































































































1948 WB_ENTRY(jint, WB_getFieldEntriesLength(JNIEnv* env, jobject wb, jclass klass))
1949   InstanceKlass* ik = InstanceKlass::cast(java_lang_Class::as_Klass(JNIHandles::resolve(klass)));
1950   ConstantPool* cp = ik->constants();
1951   if (cp->cache() == nullptr) {
1952     return -1;
1953   }
1954   return cp->resolved_field_entries_length();
1955 WB_END
1956 
1957 WB_ENTRY(jint, WB_getFieldCPIndex(JNIEnv* env, jobject wb, jclass klass, jint index))
1958   InstanceKlass* ik = InstanceKlass::cast(java_lang_Class::as_Klass(JNIHandles::resolve(klass)));
1959   ConstantPool* cp = ik->constants();
1960   if (cp->cache() == nullptr) {
1961       return -1;
1962   }
1963   return cp->resolved_field_entry_at(index)->constant_pool_index();
1964 WB_END
1965 
1966 WB_ENTRY(jint, WB_getMethodEntriesLength(JNIEnv* env, jobject wb, jclass klass))
1967   InstanceKlass* ik = InstanceKlass::cast(java_lang_Class::as_Klass(JNIHandles::resolve(klass)));

2902                                                       (void*)&WB_DefineModule },
2903   {CC"AddModuleExports",   CC"(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V",
2904                                                       (void*)&WB_AddModuleExports },
2905   {CC"AddReadsModule",     CC"(Ljava/lang/Object;Ljava/lang/Object;)V",
2906                                                       (void*)&WB_AddReadsModule },
2907   {CC"AddModuleExportsToAllUnnamed", CC"(Ljava/lang/Object;Ljava/lang/String;)V",
2908                                                       (void*)&WB_AddModuleExportsToAllUnnamed },
2909   {CC"AddModuleExportsToAll", CC"(Ljava/lang/Object;Ljava/lang/String;)V",
2910                                                       (void*)&WB_AddModuleExportsToAll },
2911   {CC"deflateIdleMonitors", CC"()Z",                  (void*)&WB_DeflateIdleMonitors },
2912   {CC"isMonitorInflated0", CC"(Ljava/lang/Object;)Z", (void*)&WB_IsMonitorInflated  },
2913   {CC"isAsanEnabled", CC"()Z",                        (void*)&WB_IsAsanEnabled },
2914   {CC"isUbsanEnabled", CC"()Z",                       (void*)&WB_IsUbsanEnabled },
2915   {CC"getInUseMonitorCount", CC"()J", (void*)&WB_getInUseMonitorCount  },
2916   {CC"getLockStackCapacity", CC"()I",                 (void*)&WB_getLockStackCapacity },
2917   {CC"supportsRecursiveLightweightLocking", CC"()Z",  (void*)&WB_supportsRecursiveLightweightLocking },
2918   {CC"forceSafepoint",     CC"()V",                   (void*)&WB_ForceSafepoint     },
2919   {CC"forceClassLoaderStatsSafepoint", CC"()V",       (void*)&WB_ForceClassLoaderStatsSafepoint },
2920   {CC"getConstantPool0",   CC"(Ljava/lang/Class;)J",  (void*)&WB_GetConstantPool    },
2921   {CC"getResolvedReferences0", CC"(Ljava/lang/Class;)[Ljava/lang/Object;", (void*)&WB_GetResolvedReferences},






2922   {CC"getFieldEntriesLength0", CC"(Ljava/lang/Class;)I",  (void*)&WB_getFieldEntriesLength},
2923   {CC"getFieldCPIndex0",    CC"(Ljava/lang/Class;I)I", (void*)&WB_getFieldCPIndex},
2924   {CC"getMethodEntriesLength0", CC"(Ljava/lang/Class;)I",  (void*)&WB_getMethodEntriesLength},
2925   {CC"getMethodCPIndex0",    CC"(Ljava/lang/Class;I)I", (void*)&WB_getMethodCPIndex},
2926   {CC"getIndyInfoLength0", CC"(Ljava/lang/Class;)I",  (void*)&WB_getIndyInfoLength},
2927   {CC"getIndyCPIndex0",    CC"(Ljava/lang/Class;I)I", (void*)&WB_getIndyCPIndex},
2928   {CC"printClasses0",      CC"(Ljava/lang/String;I)Ljava/lang/String;", (void*)&WB_printClasses},
2929   {CC"printMethods0",      CC"(Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/String;", (void*)&WB_printMethods},
2930   {CC"getMethodBooleanOption",
2931       CC"(Ljava/lang/reflect/Executable;Ljava/lang/String;)Ljava/lang/Boolean;",
2932                                                       (void*)&WB_GetMethodBooleaneOption},
2933   {CC"getMethodIntxOption",
2934       CC"(Ljava/lang/reflect/Executable;Ljava/lang/String;)Ljava/lang/Long;",
2935                                                       (void*)&WB_GetMethodIntxOption},
2936   {CC"getMethodUintxOption",
2937       CC"(Ljava/lang/reflect/Executable;Ljava/lang/String;)Ljava/lang/Long;",
2938                                                       (void*)&WB_GetMethodUintxOption},
2939   {CC"getMethodDoubleOption",
2940       CC"(Ljava/lang/reflect/Executable;Ljava/lang/String;)Ljava/lang/Double;",
2941                                                       (void*)&WB_GetMethodDoubleOption},

  35 #include "classfile/javaClasses.inline.hpp"
  36 #include "classfile/modules.hpp"
  37 #include "classfile/stringTable.hpp"
  38 #include "classfile/symbolTable.hpp"
  39 #include "classfile/systemDictionary.hpp"
  40 #include "classfile/vmSymbols.hpp"
  41 #include "code/codeCache.hpp"
  42 #include "compiler/compilationPolicy.hpp"
  43 #include "compiler/compilerOracle.hpp"
  44 #include "compiler/directivesParser.hpp"
  45 #include "compiler/methodMatcher.hpp"
  46 #include "gc/shared/concurrentGCBreakpoints.hpp"
  47 #include "gc/shared/gcConfig.hpp"
  48 #include "gc/shared/genArguments.hpp"
  49 #include "jvm.h"
  50 #include "jvmtifiles/jvmtiEnv.hpp"
  51 #include "logging/log.hpp"
  52 #include "memory/iterator.hpp"
  53 #include "memory/memoryReserver.hpp"
  54 #include "memory/metadataFactory.hpp"
  55 #include "memory/iterator.inline.hpp"
  56 #include "memory/metaspace/testHelpers.hpp"
  57 #include "memory/metaspaceUtils.hpp"
  58 #include "memory/oopFactory.hpp"
  59 #include "memory/resourceArea.hpp"
  60 #include "memory/universe.hpp"
  61 #include "nmt/mallocSiteTable.hpp"
  62 #include "oops/access.hpp"
  63 #include "oops/array.hpp"
  64 #include "oops/compressedOops.hpp"
  65 #include "oops/compressedOops.inline.hpp"
  66 #include "oops/constantPool.inline.hpp"
  67 #include "oops/klass.inline.hpp"
  68 #include "oops/method.inline.hpp"
  69 #include "oops/methodData.inline.hpp"
  70 #include "oops/objArrayKlass.hpp"
  71 #include "oops/objArrayOop.inline.hpp"
  72 #include "oops/oop.inline.hpp"
  73 #include "oops/objArrayOop.inline.hpp"
  74 #include "oops/typeArrayOop.inline.hpp"
  75 #include "prims/jvmtiEnvBase.hpp"
  76 #include "prims/resolvedMethodTable.hpp"
  77 #include "prims/wbtestmethods/parserTests.hpp"
  78 #include "prims/whitebox.inline.hpp"
  79 #include "runtime/arguments.hpp"
  80 #include "runtime/atomic.hpp"
  81 #include "runtime/deoptimization.hpp"
  82 #include "runtime/fieldDescriptor.inline.hpp"
  83 #include "runtime/flags/jvmFlag.hpp"
  84 #include "runtime/flags/jvmFlagAccess.hpp"
  85 #include "runtime/frame.inline.hpp"
  86 #include "runtime/handles.inline.hpp"
  87 #include "runtime/handshake.hpp"
  88 #include "runtime/interfaceSupport.inline.hpp"
  89 #include "runtime/javaCalls.hpp"
  90 #include "runtime/javaThread.inline.hpp"
  91 #include "runtime/jniHandles.inline.hpp"
  92 #include "runtime/keepStackGCProcessed.hpp"
  93 #include "runtime/lightweightSynchronizer.hpp"
  94 #include "runtime/lockStack.hpp"
  95 #include "runtime/os.hpp"
  96 #include "runtime/stackFrameStream.inline.hpp"
  97 #include "runtime/synchronizer.hpp"
  98 #include "runtime/threadSMR.hpp"
  99 #include "runtime/vframe.hpp"
 100 #include "runtime/vm_version.hpp"
 101 #include "services/memoryService.hpp"
 102 #include "utilities/align.hpp"
 103 #include "utilities/checkedCast.hpp"
 104 #include "utilities/debug.hpp"
 105 #include "utilities/elfFile.hpp"
 106 #include "utilities/exceptions.hpp"
 107 #include "utilities/macros.hpp"
 108 #include "utilities/nativeCallStack.hpp"
 109 #include "utilities/ostream.hpp"
 110 #include "utilities/vmError.hpp"
 111 #if INCLUDE_G1GC
 112 #include "gc/g1/g1Arguments.hpp"

1933   VMThread::execute(&force_safepoint_op);
1934 WB_END
1935 
1936 WB_ENTRY(void, WB_ForceClassLoaderStatsSafepoint(JNIEnv* env, jobject wb))
1937   nullStream dev_null;
1938   ClassLoaderStatsVMOperation force_op(&dev_null);
1939   VMThread::execute(&force_op);
1940 WB_END
1941 
1942 WB_ENTRY(jlong, WB_GetConstantPool(JNIEnv* env, jobject wb, jclass klass))
1943   InstanceKlass* ik = InstanceKlass::cast(java_lang_Class::as_Klass(JNIHandles::resolve(klass)));
1944   return (jlong) ik->constants();
1945 WB_END
1946 
1947 WB_ENTRY(jobjectArray, WB_GetResolvedReferences(JNIEnv* env, jobject wb, jclass klass))
1948   InstanceKlass* ik = InstanceKlass::cast(java_lang_Class::as_Klass(JNIHandles::resolve(klass)));
1949   objArrayOop resolved_refs= ik->constants()->resolved_references();
1950   return (jobjectArray)JNIHandles::make_local(THREAD, resolved_refs);
1951 WB_END
1952 
1953 WB_ENTRY(jobjectArray, WB_getObjectsViaKlassOopMaps(JNIEnv* env, jobject wb, jobject thing))
1954   oop aoop = JNIHandles::resolve(thing);
1955   if (!aoop->is_instance()) {
1956     return nullptr;
1957   }
1958   instanceHandle ih(THREAD, (instanceOop) aoop);
1959   InstanceKlass* klass = InstanceKlass::cast(ih->klass());
1960   if (klass->nonstatic_oop_map_count() == 0) {
1961     return nullptr;
1962   }
1963   const OopMapBlock* map = klass->start_of_nonstatic_oop_maps();
1964   const OopMapBlock* const end = map + klass->nonstatic_oop_map_count();
1965   int oop_count = 0;
1966   while (map < end) {
1967     oop_count += map->count();
1968     map++;
1969   }
1970 
1971   objArrayHandle result_array =
1972       oopFactory::new_objArray_handle(vmClasses::Object_klass(), oop_count, CHECK_NULL);
1973   map = klass->start_of_nonstatic_oop_maps();
1974   int index = 0;
1975   while (map < end) {
1976     int offset = map->offset();
1977     for (unsigned int j = 0; j < map->count(); j++) {
1978       result_array->obj_at_put(index++, ih->obj_field(offset));
1979       offset += heapOopSize;
1980     }
1981     map++;
1982   }
1983   return (jobjectArray)JNIHandles::make_local(THREAD, result_array());
1984 WB_END
1985 
1986 // Collect Object oops but not value objects...loaded from heap
1987 class CollectObjectOops : public BasicOopIterateClosure {
1988   public:
1989   GrowableArray<Handle>* _array;
1990 
1991   CollectObjectOops() {
1992       _array = new GrowableArray<Handle>(128);
1993   }
1994 
1995   void add_oop(oop o) {
1996     Handle oh = Handle(Thread::current(), o);
1997     if (oh != nullptr && oh->is_inline_type()) {
1998       oh->oop_iterate(this);
1999     } else {
2000       _array->append(oh);
2001     }
2002   }
2003 
2004   template <class T> inline void add_oop(T* p) { add_oop(HeapAccess<>::oop_load(p)); }
2005   void do_oop(oop* o) { add_oop(o); }
2006   void do_oop(narrowOop* v) { add_oop(v); }
2007 
2008   jobjectArray create_jni_result(JNIEnv* env, TRAPS) {
2009     objArrayHandle result_array =
2010         oopFactory::new_objArray_handle(vmClasses::Object_klass(), _array->length(), CHECK_NULL);
2011     for (int i = 0 ; i < _array->length(); i++) {
2012       result_array->obj_at_put(i, _array->at(i)());
2013     }
2014     return (jobjectArray)JNIHandles::make_local(THREAD, result_array());
2015   }
2016 };
2017 
2018 // Collect Object oops but not value objects...loaded from frames
2019 class CollectFrameObjectOops : public BasicOopIterateClosure {
2020  public:
2021   CollectObjectOops _collect;
2022 
2023   template <class T> inline void add_oop(T* p) { _collect.add_oop(RawAccess<>::oop_load(p)); }
2024   void do_oop(oop* o) { add_oop(o); }
2025   void do_oop(narrowOop* v) { add_oop(v); }
2026 
2027   jobjectArray create_jni_result(JNIEnv* env, TRAPS) {
2028     return _collect.create_jni_result(env, THREAD);
2029   }
2030 };
2031 
2032 // Collect Object oops for the given oop, iterate through value objects
2033 WB_ENTRY(jobjectArray, WB_getObjectsViaOopIterator(JNIEnv* env, jobject wb, jobject thing))
2034   ResourceMark rm(thread);
2035   Handle objh(thread, JNIHandles::resolve(thing));
2036   CollectObjectOops collectOops;
2037   objh->oop_iterate(&collectOops);
2038   return collectOops.create_jni_result(env, THREAD);
2039 WB_END
2040 
2041 // Collect Object oops for the given frame deep, iterate through value objects
2042 WB_ENTRY(jobjectArray, WB_getObjectsViaFrameOopIterator(JNIEnv* env, jobject wb, jint depth))
2043   KeepStackGCProcessedMark ksgcpm(THREAD);
2044   ResourceMark rm(THREAD);
2045   CollectFrameObjectOops collectOops;
2046   StackFrameStream sfs(thread, true /* update */, true /* process_frames */);
2047   while (depth > 0) { // Skip the native WB API frame
2048     sfs.next();
2049     frame* f = sfs.current();
2050     f->oops_do(&collectOops, nullptr, sfs.register_map());
2051     depth--;
2052   }
2053   return collectOops.create_jni_result(env, THREAD);
2054 WB_END
2055 
2056 WB_ENTRY(jint, WB_getFieldEntriesLength(JNIEnv* env, jobject wb, jclass klass))
2057   InstanceKlass* ik = InstanceKlass::cast(java_lang_Class::as_Klass(JNIHandles::resolve(klass)));
2058   ConstantPool* cp = ik->constants();
2059   if (cp->cache() == nullptr) {
2060     return -1;
2061   }
2062   return cp->resolved_field_entries_length();
2063 WB_END
2064 
2065 WB_ENTRY(jint, WB_getFieldCPIndex(JNIEnv* env, jobject wb, jclass klass, jint index))
2066   InstanceKlass* ik = InstanceKlass::cast(java_lang_Class::as_Klass(JNIHandles::resolve(klass)));
2067   ConstantPool* cp = ik->constants();
2068   if (cp->cache() == nullptr) {
2069       return -1;
2070   }
2071   return cp->resolved_field_entry_at(index)->constant_pool_index();
2072 WB_END
2073 
2074 WB_ENTRY(jint, WB_getMethodEntriesLength(JNIEnv* env, jobject wb, jclass klass))
2075   InstanceKlass* ik = InstanceKlass::cast(java_lang_Class::as_Klass(JNIHandles::resolve(klass)));

3010                                                       (void*)&WB_DefineModule },
3011   {CC"AddModuleExports",   CC"(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V",
3012                                                       (void*)&WB_AddModuleExports },
3013   {CC"AddReadsModule",     CC"(Ljava/lang/Object;Ljava/lang/Object;)V",
3014                                                       (void*)&WB_AddReadsModule },
3015   {CC"AddModuleExportsToAllUnnamed", CC"(Ljava/lang/Object;Ljava/lang/String;)V",
3016                                                       (void*)&WB_AddModuleExportsToAllUnnamed },
3017   {CC"AddModuleExportsToAll", CC"(Ljava/lang/Object;Ljava/lang/String;)V",
3018                                                       (void*)&WB_AddModuleExportsToAll },
3019   {CC"deflateIdleMonitors", CC"()Z",                  (void*)&WB_DeflateIdleMonitors },
3020   {CC"isMonitorInflated0", CC"(Ljava/lang/Object;)Z", (void*)&WB_IsMonitorInflated  },
3021   {CC"isAsanEnabled", CC"()Z",                        (void*)&WB_IsAsanEnabled },
3022   {CC"isUbsanEnabled", CC"()Z",                       (void*)&WB_IsUbsanEnabled },
3023   {CC"getInUseMonitorCount", CC"()J", (void*)&WB_getInUseMonitorCount  },
3024   {CC"getLockStackCapacity", CC"()I",                 (void*)&WB_getLockStackCapacity },
3025   {CC"supportsRecursiveLightweightLocking", CC"()Z",  (void*)&WB_supportsRecursiveLightweightLocking },
3026   {CC"forceSafepoint",     CC"()V",                   (void*)&WB_ForceSafepoint     },
3027   {CC"forceClassLoaderStatsSafepoint", CC"()V",       (void*)&WB_ForceClassLoaderStatsSafepoint },
3028   {CC"getConstantPool0",   CC"(Ljava/lang/Class;)J",  (void*)&WB_GetConstantPool    },
3029   {CC"getResolvedReferences0", CC"(Ljava/lang/Class;)[Ljava/lang/Object;", (void*)&WB_GetResolvedReferences},
3030   {CC"getObjectsViaKlassOopMaps0",
3031       CC"(Ljava/lang/Object;)[Ljava/lang/Object;",    (void*)&WB_getObjectsViaKlassOopMaps},
3032   {CC"getObjectsViaOopIterator0",
3033           CC"(Ljava/lang/Object;)[Ljava/lang/Object;",(void*)&WB_getObjectsViaOopIterator},
3034   {CC"getObjectsViaFrameOopIterator",
3035       CC"(I)[Ljava/lang/Object;",                     (void*)&WB_getObjectsViaFrameOopIterator},
3036   {CC"getFieldEntriesLength0", CC"(Ljava/lang/Class;)I",  (void*)&WB_getFieldEntriesLength},
3037   {CC"getFieldCPIndex0",    CC"(Ljava/lang/Class;I)I", (void*)&WB_getFieldCPIndex},
3038   {CC"getMethodEntriesLength0", CC"(Ljava/lang/Class;)I",  (void*)&WB_getMethodEntriesLength},
3039   {CC"getMethodCPIndex0",    CC"(Ljava/lang/Class;I)I", (void*)&WB_getMethodCPIndex},
3040   {CC"getIndyInfoLength0", CC"(Ljava/lang/Class;)I",  (void*)&WB_getIndyInfoLength},
3041   {CC"getIndyCPIndex0",    CC"(Ljava/lang/Class;I)I", (void*)&WB_getIndyCPIndex},
3042   {CC"printClasses0",      CC"(Ljava/lang/String;I)Ljava/lang/String;", (void*)&WB_printClasses},
3043   {CC"printMethods0",      CC"(Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/String;", (void*)&WB_printMethods},
3044   {CC"getMethodBooleanOption",
3045       CC"(Ljava/lang/reflect/Executable;Ljava/lang/String;)Ljava/lang/Boolean;",
3046                                                       (void*)&WB_GetMethodBooleaneOption},
3047   {CC"getMethodIntxOption",
3048       CC"(Ljava/lang/reflect/Executable;Ljava/lang/String;)Ljava/lang/Long;",
3049                                                       (void*)&WB_GetMethodIntxOption},
3050   {CC"getMethodUintxOption",
3051       CC"(Ljava/lang/reflect/Executable;Ljava/lang/String;)Ljava/lang/Long;",
3052                                                       (void*)&WB_GetMethodUintxOption},
3053   {CC"getMethodDoubleOption",
3054       CC"(Ljava/lang/reflect/Executable;Ljava/lang/String;)Ljava/lang/Double;",
3055                                                       (void*)&WB_GetMethodDoubleOption},
< prev index next >