[master] RFR: Preserve Klass* in leak profiler [v3]
Roman Kennke
rkennke at openjdk.java.net
Mon Oct 18 13:54:30 UTC 2021
> The JFR leak profiler uses the mark word for marking objects during traversal, and for storing pointers to Edges. We need to preserve the compressed Klass* in the upper part of the mark-word during the traversal.
>
> The change is based on: openjdk/jdk/pull/5918
>
> Testing:
> - [x] jdk/jfr (x86_64)
> - [x] jdk/jfr (x86_32)
> - [x] tier1
> - [x] tier2
Roman Kennke has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 12 additional commits since the last revision:
- Merge branch 'master' into fix-jfr-2
- Cherry-pick 8275277: assert(dest_attr.is_in_cset() == (obj->forwardee() == obj)) failed
- Merge branch 'master' into fix-jfr-2
- Merge branch 'pull/5918' into fix-jfr-2
- remove -1
- constants
- Fix 32bit build
- Merge branch 'master' into fix-jfr-2
- In leakprofiler, don't override Klass when marking objects
- Merge branch 'pull/5918' into fix-jfr-2
- ... and 2 more: https://git.openjdk.java.net/lilliput/compare/9b17ce55...029c37a1
-------------
Changes:
- all: https://git.openjdk.java.net/lilliput/pull/21/files
- new: https://git.openjdk.java.net/lilliput/pull/21/files/a49c72e1..029c37a1
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=lilliput&pr=21&range=02
- incr: https://webrevs.openjdk.java.net/?repo=lilliput&pr=21&range=01-02
Stats: 13 lines in 2 files changed: 11 ins; 0 del; 2 mod
Patch: https://git.openjdk.java.net/lilliput/pull/21.diff
Fetch: git fetch https://git.openjdk.java.net/lilliput pull/21/head:pull/21
PR: https://git.openjdk.java.net/lilliput/pull/21
More information about the lilliput-dev
mailing list