Repository navigation
Conversation
Member
|
@tjake I will take care of the deleting. Can you please adjust your commit message to match our template and sign the cla: http://netty.io/wiki/writing-a-commit-message.html |
Motivation: When attempting to flamegraph netty w/ epoll it was noticed the stacks are lost going from java to epoll lib. Modifications: added the -fno-omit-framepointer flag to compiler flags to ensure the fp is kept intact Result: Flamegraphs will now show native code in the same stack as java code using perf-java-flames
tjake
force-pushed
the
fix-epoll-frame-pointer
branch
from
December 6, 2016 15:33
bed338a to
1dca507
Compare
Contributor
Author
|
done. |
Member
normanmaurer
added a commit
that referenced
this pull request
Dec 8, 2016
Motivation: When profiling it is sometimes needed to still have the native library file avaible. We should allow to disable the explicit deletion and just delete it when the JVM stops. This is related to #6110 Modifications: Add io.netty.native.deleteLibAfterLoading system property which allows to disable the explicit delete after laoding Result: Possible to profile native libraries better.
normanmaurer
added a commit
that referenced
this pull request
Dec 16, 2016
Motivation: When profiling it is sometimes needed to still have the native library file avaible. We should allow to disable the explicit deletion and just delete it when the JVM stops. This is related to #6110 Modifications: Add io.netty.native.deleteLibAfterLoading system property which allows to disable the explicit delete after laoding Result: Possible to profile native libraries better.
normanmaurer
added a commit
that referenced
this pull request
Dec 16, 2016
Motivation: When profiling it is sometimes needed to still have the native library file avaible. We should allow to disable the explicit deletion and just delete it when the JVM stops. This is related to #6110 Modifications: Add io.netty.native.deleteLibAfterLoading system property which allows to disable the explicit delete after laoding Result: Possible to profile native libraries better.
liuzhengyang
pushed a commit
to liuzhengyang/netty
that referenced
this pull request
Sep 10, 2017
Motivation: When profiling it is sometimes needed to still have the native library file avaible. We should allow to disable the explicit deletion and just delete it when the JVM stops. This is related to netty#6110 Modifications: Add io.netty.native.deleteLibAfterLoading system property which allows to disable the explicit delete after laoding Result: Possible to profile native libraries better.
pulllock
pushed a commit
to pulllock/netty
that referenced
this pull request
Oct 19, 2023
Motivation: When profiling it is sometimes needed to still have the native library file avaible. We should allow to disable the explicit deletion and just delete it when the JVM stops. This is related to netty#6110 Modifications: Add io.netty.native.deleteLibAfterLoading system property which allows to disable the explicit delete after laoding Result: Possible to profile native libraries better.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This patch allows linux perf to track the frame pointer from java to epoll native lib. This cleans up flamegraphs which use epoll.
There is also an issue with the extracted native lib being deleted by the netty library loader util. I'm not sure how you want to deal with that, perhaps a property to keep it around for perf testing?