GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||
GeezerVison is showing github.com — Keep native frames intact under --package-names by lhotari · Pull Request #5 · jonoffcpu/jonoffcpu Conversation
Collaborator
Problem
The library is the only thing that says whether
Change
Collapsed keys and frame names are unchanged, so the default rendering still reproduces Verification
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsstacks --package-names abbreviate|drop rewrote the native frames async-profiler
records inside the Java stack: libjvm.so.Unsafe_Park became l.so.Unsafe_Park or
so.Unsafe_Park, losing the library and merging symbols of different
libraries. The collapsed key drops each frame's type, the profile tagged every
Java-stack frame JAVA, and the package pattern read "libjvm." as a package.
- The correlator records which frames of each collapsed key async-profiler
typed as Java code (Interpreted, JIT compiled, C1 compiled, Inlined). Stacks
that share a key must agree for a frame to count as Java.
- The profile tags the others with a new frame kind, JFR_NATIVE (wire value
4), and moves to schema_version 2. Schema 1 profiles still read; an older
correlator refuses a new profile with "Unsupported stack profile schema".
merge combines stacks with the same names whatever kinds its inputs gave
them, and a frame any input calls native stays native.
- --package-names only rewrites JAVA frames. A name rule protects schema 1
profiles and backs up the kinds: a name with "::", a shared-library segment
(".so.", ".so.6."), a leading "/" or "[", or a space is never rewritten.
- A hidden class's ".0x..." suffix (Foo$$Lambda.0x0000000081a16ff8.run) now
stays part of the class, so drop removes its package too.
- export adds a last column, java_stack_kinds (javaStackKinds in JSON Lines),
with java or native per frame. Existing columns are unchanged.
Collapsed keys and frame names are unchanged, so the default rendering still
reproduces jonoffcpu-offcpu-stacks.collapsed byte for byte. On a Pulsar broker
profile, the old code produced 1,844 so./l.so. frame occurrences under
abbreviate and drop; now all 264 native frames keep their names, and filter
totals are identical in all three modes.
Uh oh!
There was an error while loading. Please reload this page.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersNo reviewsUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. 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. | ||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |