MCPcopy Create free account
hub / github.com/async-profiler/async-profiler / validatedId

Method validatedId

src/vmStructs.cpp:679–685  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

677}
678
679jmethodID VMMethod::validatedId() {
680 jmethodID method_id = id();
681 if (!_can_dereference_jmethod_id || (goodPtr(method_id) && *(VMMethod**)method_id == this)) {
682 return method_id;
683 }
684 return NULL;
685}
686
687NMethod* CodeHeap::findNMethod(char* heap, const void* pc) {
688 unsigned char* heap_start = *(unsigned char**)(heap + _code_heap_memory_offset + _vs_low_offset);

Callers 1

getMethodIdFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected