< 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 #if INCLUDE_G1GC
 106 #include "gc/g1/g1Arguments.hpp"
 107 #include "gc/g1/g1CollectedHeap.inline.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(jint, WB_getFieldEntriesLength(JNIEnv* env, jobject wb, jclass klass))
1954   InstanceKlass* ik = InstanceKlass::cast(java_lang_Class::as_Klass(JNIHandles::resolve(klass)));
1955   ConstantPool* cp = ik->constants();
1956   if (cp->cache() == nullptr) {
1957     return -1;
1958   }
1959   return cp->resolved_field_entries_length();
1960 WB_END
1961 
1962 WB_ENTRY(jint, WB_getFieldCPIndex(JNIEnv* env, jobject wb, jclass klass, jint index))
1963   InstanceKlass* ik = InstanceKlass::cast(java_lang_Class::as_Klass(JNIHandles::resolve(klass)));
1964   ConstantPool* cp = ik->constants();
1965   if (cp->cache() == nullptr) {
1966       return -1;
1967   }
1968   return cp->resolved_field_entry_at(index)->constant_pool_index();
1969 WB_END
1970 
1971 WB_ENTRY(jint, WB_getMethodEntriesLength(JNIEnv* env, jobject wb, jclass klass))
1972   InstanceKlass* ik = InstanceKlass::cast(java_lang_Class::as_Klass(JNIHandles::resolve(klass)));

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






2919   {CC"getFieldEntriesLength0", CC"(Ljava/lang/Class;)I",  (void*)&WB_getFieldEntriesLength},
2920   {CC"getFieldCPIndex0",    CC"(Ljava/lang/Class;I)I", (void*)&WB_getFieldCPIndex},
2921   {CC"getMethodEntriesLength0", CC"(Ljava/lang/Class;)I",  (void*)&WB_getMethodEntriesLength},
2922   {CC"getMethodCPIndex0",    CC"(Ljava/lang/Class;I)I", (void*)&WB_getMethodCPIndex},
2923   {CC"getIndyInfoLength0", CC"(Ljava/lang/Class;)I",  (void*)&WB_getIndyInfoLength},
2924   {CC"getIndyCPIndex0",    CC"(Ljava/lang/Class;I)I", (void*)&WB_getIndyCPIndex},
2925   {CC"printClasses0",      CC"(Ljava/lang/String;I)Ljava/lang/String;", (void*)&WB_printClasses},
2926   {CC"printMethods0",      CC"(Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/String;", (void*)&WB_printMethods},
2927   {CC"getMethodBooleanOption",
2928       CC"(Ljava/lang/reflect/Executable;Ljava/lang/String;)Ljava/lang/Boolean;",
2929                                                       (void*)&WB_GetMethodBooleaneOption},
2930   {CC"getMethodIntxOption",
2931       CC"(Ljava/lang/reflect/Executable;Ljava/lang/String;)Ljava/lang/Long;",
2932                                                       (void*)&WB_GetMethodIntxOption},
2933   {CC"getMethodUintxOption",
2934       CC"(Ljava/lang/reflect/Executable;Ljava/lang/String;)Ljava/lang/Long;",
2935                                                       (void*)&WB_GetMethodUintxOption},
2936   {CC"getMethodDoubleOption",
2937       CC"(Ljava/lang/reflect/Executable;Ljava/lang/String;)Ljava/lang/Double;",
2938                                                       (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 #if INCLUDE_G1GC
 111 #include "gc/g1/g1Arguments.hpp"
 112 #include "gc/g1/g1CollectedHeap.inline.hpp"

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

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