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

Method getFrame

src/vmStructs.h:344–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342 }
343
344 bool getFrame(const void*& pc, uintptr_t& sp, uintptr_t& fp) {
345 if (lastJavaPC() == NULL || lastJavaSP() == 0) {
346 return false;
347 }
348 pc = lastJavaPC();
349 sp = lastJavaSP();
350 fp = lastJavaFP();
351 return true;
352 }
353
354 // Similar to getFrame, but handles partially saved frames.
355 // Relevant for allocation hooks executed in _thread_in_vm state.

Callers 1

walkVMMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected