Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get java stack frame when trace off-heap memory #191

Closed
louxiu opened this issue Aug 18, 2017 · 2 comments
Closed

Can't get java stack frame when trace off-heap memory #191

louxiu opened this issue Aug 18, 2017 · 2 comments

Comments

@louxiu
Copy link

louxiu commented Aug 18, 2017

I use gperftools-2.5 to trace java off-heap memory leak, but I can't find which method called Unsafe_AllocateMemory.
leak

I know that perf can get java stack using Mixed-Mode. I tried that with pprof but without luck. Is it possible to get the java stack frame in pprof?

also @brendangregg

@aalexand
Copy link
Collaborator

aalexand commented Aug 18, 2017

I would expect that with “-XX:+PreserveFramePointer” stack unwinding is able to get all stack frames and passing the binary path to pprof will make it resolve the native locations. Can you post complete description of what code you are profiling, how you invoke gperftools, how you invoke pprof, which platform you are on, what is the pprof version and other details that can help other people reproduce your issue?

@louxiu
Copy link
Author

louxiu commented Aug 19, 2017

Shame on this :-(. I report to the wrong project. The issue is related to gperftools. Sorry

@louxiu louxiu closed this as completed Aug 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants