-
Notifications
You must be signed in to change notification settings - Fork 6.2k
8252105: parallel heap inspection for ZCollectedHeap #103
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
Conversation
|
👋 Welcome back lzang! A progress list of the required criteria for merging this PR into |
|
@linzang The following label will be automatically applied to this pull request: When this pull request is ready to be reviewed, an RFR email will be sent to the corresponding mailing list. If you would like to change these labels, use the |
|
/label add serviceability |
|
@linzang |
Webrevs
|
pliden
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just looked at this briefly. My initial comment is that we need to avoid all the code duplicated from ZHeapIterator and isolate all this a bit better. Perhaps folding everything into one iterator, that can be used by both object_iterate() and parallel_object_iterator(). I'll take a closer look, and perhaps try some alternatives, when I get a chance.
|
Hi @pliden, |
- enable parallel heap inspection for ZCollectedHeap - preliminary evaluation: Time of jmap histo on 8GB heap with ~5GB objects * before: 7.103s * after : 2.734s (with 4 parallel threads)
|
Hi @pliden, |
|
Hi @linzang, I started reviewing your patch in more detail. However, I ended up with a large number of major comments and I started to feel that it would probably be more productive to create an alternative patch for this, so I did. master...pliden:8252105_parallel_object_iterator Some of the main differences compared to your proposed patch:
I think the easiest way forward is probably if you close this PR, and I'll open a new one. |
|
Hi @pliden, -Lin |
…protocols, via a public Serialization API and JERI Serialization Layer. openjdk#103
…protocols, via a public Serialization API and JERI Serialization Layer. openjdk#103
…protocols, via a public Serialization API and JERI Serialization Layer. openjdk#103 Add Replace interface to allow similar functionality to Java Serialization's writeReplace method.
…protocols, via a public Serialization API and JERI Serialization Layer. openjdk#103 Implement Replace interface for URICodeSource PreferredClassProvider creating ClassLoader using proxy codebase URL ProtectionDomain openjdk#125 Add AccessControlContext parameter to constructor, to allow context to be passed in.
…protocols, via a public Serialization API and JERI Serialization Layer. openjdk#103
…protocols, via a public Serialization API and JERI Serialization Layer. openjdk#103
Time of jmap histo on 8GB heap with ~5GB objects
Progress
Issue
Download
$ git fetch https://git.openjdk.java.net/jdk pull/103/head:pull/103$ git checkout pull/103