< 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/lockStack.hpp"
  89 #include "runtime/os.hpp"
  90 #include "runtime/stackFrameStream.inline.hpp"
  91 #include "runtime/synchronizer.hpp"
  92 #include "runtime/threadSMR.hpp"
  93 #include "runtime/vframe.hpp"
  94 #include "runtime/vm_version.hpp"
  95 #include "services/memoryService.hpp"
  96 #include "utilities/align.hpp"
  97 #include "utilities/checkedCast.hpp"
  98 #include "utilities/debug.hpp"
  99 #include "utilities/elfFile.hpp"
 100 #include "utilities/exceptions.hpp"
 101 #include "utilities/macros.hpp"
 102 #include "utilities/nativeCallStack.hpp"
 103 #include "utilities/ostream.hpp"
 104 #if INCLUDE_G1GC
 105 #include "gc/g1/g1Arguments.hpp"
 106 #include "gc/g1/g1CollectedHeap.inline.hpp"
 107 #include "gc/g1/g1ConcurrentMark.hpp"

1918   VMThread::execute(&force_safepoint_op);
1919 WB_END
1920 
1921 WB_ENTRY(void, WB_ForceClassLoaderStatsSafepoint(JNIEnv* env, jobject wb))
1922   nullStream dev_null;
1923   ClassLoaderStatsVMOperation force_op(&dev_null);
1924   VMThread::execute(&force_op);
1925 WB_END
1926 
1927 WB_ENTRY(jlong, WB_GetConstantPool(JNIEnv* env, jobject wb, jclass klass))
1928   InstanceKlass* ik = InstanceKlass::cast(java_lang_Class::as_Klass(JNIHandles::resolve(klass)));
1929   return (jlong) ik->constants();
1930 WB_END
1931 
1932 WB_ENTRY(jobjectArray, WB_GetResolvedReferences(JNIEnv* env, jobject wb, jclass klass))
1933   InstanceKlass* ik = InstanceKlass::cast(java_lang_Class::as_Klass(JNIHandles::resolve(klass)));
1934   objArrayOop resolved_refs= ik->constants()->resolved_references();
1935   return (jobjectArray)JNIHandles::make_local(THREAD, resolved_refs);
1936 WB_END
1937 







































































































1938 WB_ENTRY(jint, WB_getFieldEntriesLength(JNIEnv* env, jobject wb, jclass klass))
1939   InstanceKlass* ik = InstanceKlass::cast(java_lang_Class::as_Klass(JNIHandles::resolve(klass)));
1940   ConstantPool* cp = ik->constants();
1941   if (cp->cache() == nullptr) {
1942     return -1;
1943   }
1944   return cp->resolved_field_entries_length();
1945 WB_END
1946 
1947 WB_ENTRY(jint, WB_getFieldCPIndex(JNIEnv* env, jobject wb, jclass klass, jint index))
1948   InstanceKlass* ik = InstanceKlass::cast(java_lang_Class::as_Klass(JNIHandles::resolve(klass)));
1949   ConstantPool* cp = ik->constants();
1950   if (cp->cache() == nullptr) {
1951       return -1;
1952   }
1953   return cp->resolved_field_entry_at(index)->constant_pool_index();
1954 WB_END
1955 
1956 WB_ENTRY(jint, WB_getMethodEntriesLength(JNIEnv* env, jobject wb, jclass klass))
1957   InstanceKlass* ik = InstanceKlass::cast(java_lang_Class::as_Klass(JNIHandles::resolve(klass)));

2879   {CC"getThreadRemainingStackSize", CC"()J",          (void*)&WB_GetThreadRemainingStackSize },
2880   {CC"DefineModule",       CC"(Ljava/lang/Object;ZLjava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V",
2881                                                       (void*)&WB_DefineModule },
2882   {CC"AddModuleExports",   CC"(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V",
2883                                                       (void*)&WB_AddModuleExports },
2884   {CC"AddReadsModule",     CC"(Ljava/lang/Object;Ljava/lang/Object;)V",
2885                                                       (void*)&WB_AddReadsModule },
2886   {CC"AddModuleExportsToAllUnnamed", CC"(Ljava/lang/Object;Ljava/lang/String;)V",
2887                                                       (void*)&WB_AddModuleExportsToAllUnnamed },
2888   {CC"AddModuleExportsToAll", CC"(Ljava/lang/Object;Ljava/lang/String;)V",
2889                                                       (void*)&WB_AddModuleExportsToAll },
2890   {CC"deflateIdleMonitors", CC"()Z",                  (void*)&WB_DeflateIdleMonitors },
2891   {CC"isMonitorInflated0", CC"(Ljava/lang/Object;)Z", (void*)&WB_IsMonitorInflated  },
2892   {CC"getInUseMonitorCount", CC"()J", (void*)&WB_getInUseMonitorCount  },
2893   {CC"getLockStackCapacity", CC"()I",                 (void*)&WB_getLockStackCapacity },
2894   {CC"supportsRecursiveLightweightLocking", CC"()Z",  (void*)&WB_supportsRecursiveLightweightLocking },
2895   {CC"forceSafepoint",     CC"()V",                   (void*)&WB_ForceSafepoint     },
2896   {CC"forceClassLoaderStatsSafepoint", CC"()V",       (void*)&WB_ForceClassLoaderStatsSafepoint },
2897   {CC"getConstantPool0",   CC"(Ljava/lang/Class;)J",  (void*)&WB_GetConstantPool    },
2898   {CC"getResolvedReferences0", CC"(Ljava/lang/Class;)[Ljava/lang/Object;", (void*)&WB_GetResolvedReferences},






2899   {CC"getFieldEntriesLength0", CC"(Ljava/lang/Class;)I",  (void*)&WB_getFieldEntriesLength},
2900   {CC"getFieldCPIndex0",    CC"(Ljava/lang/Class;I)I", (void*)&WB_getFieldCPIndex},
2901   {CC"getMethodEntriesLength0", CC"(Ljava/lang/Class;)I",  (void*)&WB_getMethodEntriesLength},
2902   {CC"getMethodCPIndex0",    CC"(Ljava/lang/Class;I)I", (void*)&WB_getMethodCPIndex},
2903   {CC"getIndyInfoLength0", CC"(Ljava/lang/Class;)I",  (void*)&WB_getIndyInfoLength},
2904   {CC"getIndyCPIndex0",    CC"(Ljava/lang/Class;I)I", (void*)&WB_getIndyCPIndex},
2905   {CC"printClasses0",      CC"(Ljava/lang/String;I)Ljava/lang/String;", (void*)&WB_printClasses},
2906   {CC"printMethods0",      CC"(Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/String;", (void*)&WB_printMethods},
2907   {CC"getMethodBooleanOption",
2908       CC"(Ljava/lang/reflect/Executable;Ljava/lang/String;)Ljava/lang/Boolean;",
2909                                                       (void*)&WB_GetMethodBooleaneOption},
2910   {CC"getMethodIntxOption",
2911       CC"(Ljava/lang/reflect/Executable;Ljava/lang/String;)Ljava/lang/Long;",
2912                                                       (void*)&WB_GetMethodIntxOption},
2913   {CC"getMethodUintxOption",
2914       CC"(Ljava/lang/reflect/Executable;Ljava/lang/String;)Ljava/lang/Long;",
2915                                                       (void*)&WB_GetMethodUintxOption},
2916   {CC"getMethodDoubleOption",
2917       CC"(Ljava/lang/reflect/Executable;Ljava/lang/String;)Ljava/lang/Double;",
2918                                                       (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/lockStack.hpp"
  94 #include "runtime/os.hpp"
  95 #include "runtime/stackFrameStream.inline.hpp"
  96 #include "runtime/synchronizer.hpp"
  97 #include "runtime/threadSMR.hpp"
  98 #include "runtime/vframe.hpp"
  99 #include "runtime/vm_version.hpp"
 100 #include "services/memoryService.hpp"
 101 #include "utilities/align.hpp"
 102 #include "utilities/checkedCast.hpp"
 103 #include "utilities/debug.hpp"
 104 #include "utilities/elfFile.hpp"
 105 #include "utilities/exceptions.hpp"
 106 #include "utilities/macros.hpp"
 107 #include "utilities/nativeCallStack.hpp"
 108 #include "utilities/ostream.hpp"
 109 #if INCLUDE_G1GC
 110 #include "gc/g1/g1Arguments.hpp"
 111 #include "gc/g1/g1CollectedHeap.inline.hpp"
 112 #include "gc/g1/g1ConcurrentMark.hpp"

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

2987   {CC"getThreadRemainingStackSize", CC"()J",          (void*)&WB_GetThreadRemainingStackSize },
2988   {CC"DefineModule",       CC"(Ljava/lang/Object;ZLjava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V",
2989                                                       (void*)&WB_DefineModule },
2990   {CC"AddModuleExports",   CC"(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V",
2991                                                       (void*)&WB_AddModuleExports },
2992   {CC"AddReadsModule",     CC"(Ljava/lang/Object;Ljava/lang/Object;)V",
2993                                                       (void*)&WB_AddReadsModule },
2994   {CC"AddModuleExportsToAllUnnamed", CC"(Ljava/lang/Object;Ljava/lang/String;)V",
2995                                                       (void*)&WB_AddModuleExportsToAllUnnamed },
2996   {CC"AddModuleExportsToAll", CC"(Ljava/lang/Object;Ljava/lang/String;)V",
2997                                                       (void*)&WB_AddModuleExportsToAll },
2998   {CC"deflateIdleMonitors", CC"()Z",                  (void*)&WB_DeflateIdleMonitors },
2999   {CC"isMonitorInflated0", CC"(Ljava/lang/Object;)Z", (void*)&WB_IsMonitorInflated  },
3000   {CC"getInUseMonitorCount", CC"()J", (void*)&WB_getInUseMonitorCount  },
3001   {CC"getLockStackCapacity", CC"()I",                 (void*)&WB_getLockStackCapacity },
3002   {CC"supportsRecursiveLightweightLocking", CC"()Z",  (void*)&WB_supportsRecursiveLightweightLocking },
3003   {CC"forceSafepoint",     CC"()V",                   (void*)&WB_ForceSafepoint     },
3004   {CC"forceClassLoaderStatsSafepoint", CC"()V",       (void*)&WB_ForceClassLoaderStatsSafepoint },
3005   {CC"getConstantPool0",   CC"(Ljava/lang/Class;)J",  (void*)&WB_GetConstantPool    },
3006   {CC"getResolvedReferences0", CC"(Ljava/lang/Class;)[Ljava/lang/Object;", (void*)&WB_GetResolvedReferences},
3007   {CC"getObjectsViaKlassOopMaps0",
3008       CC"(Ljava/lang/Object;)[Ljava/lang/Object;",    (void*)&WB_getObjectsViaKlassOopMaps},
3009   {CC"getObjectsViaOopIterator0",
3010           CC"(Ljava/lang/Object;)[Ljava/lang/Object;",(void*)&WB_getObjectsViaOopIterator},
3011   {CC"getObjectsViaFrameOopIterator",
3012       CC"(I)[Ljava/lang/Object;",                     (void*)&WB_getObjectsViaFrameOopIterator},
3013   {CC"getFieldEntriesLength0", CC"(Ljava/lang/Class;)I",  (void*)&WB_getFieldEntriesLength},
3014   {CC"getFieldCPIndex0",    CC"(Ljava/lang/Class;I)I", (void*)&WB_getFieldCPIndex},
3015   {CC"getMethodEntriesLength0", CC"(Ljava/lang/Class;)I",  (void*)&WB_getMethodEntriesLength},
3016   {CC"getMethodCPIndex0",    CC"(Ljava/lang/Class;I)I", (void*)&WB_getMethodCPIndex},
3017   {CC"getIndyInfoLength0", CC"(Ljava/lang/Class;)I",  (void*)&WB_getIndyInfoLength},
3018   {CC"getIndyCPIndex0",    CC"(Ljava/lang/Class;I)I", (void*)&WB_getIndyCPIndex},
3019   {CC"printClasses0",      CC"(Ljava/lang/String;I)Ljava/lang/String;", (void*)&WB_printClasses},
3020   {CC"printMethods0",      CC"(Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/String;", (void*)&WB_printMethods},
3021   {CC"getMethodBooleanOption",
3022       CC"(Ljava/lang/reflect/Executable;Ljava/lang/String;)Ljava/lang/Boolean;",
3023                                                       (void*)&WB_GetMethodBooleaneOption},
3024   {CC"getMethodIntxOption",
3025       CC"(Ljava/lang/reflect/Executable;Ljava/lang/String;)Ljava/lang/Long;",
3026                                                       (void*)&WB_GetMethodIntxOption},
3027   {CC"getMethodUintxOption",
3028       CC"(Ljava/lang/reflect/Executable;Ljava/lang/String;)Ljava/lang/Long;",
3029                                                       (void*)&WB_GetMethodUintxOption},
3030   {CC"getMethodDoubleOption",
3031       CC"(Ljava/lang/reflect/Executable;Ljava/lang/String;)Ljava/lang/Double;",
3032                                                       (void*)&WB_GetMethodDoubleOption},
< prev index next >