RFR: 8252105: parallel heap inspection for ZCollectedHeap

Lin Zang lzang at openjdk.java.net
Thu Sep 10 09:59:56 UTC 2020


On Thu, 10 Sep 2020 09:33:28 GMT, Per Lidén <pliden at openjdk.org> wrote:

>> - 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)
>
> 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,
  Thanks for your comments, I will try to merge ZHeapIterator and ZHeapParIterator and update the pr then.
-Lin

-------------

PR: https://git.openjdk.java.net/jdk/pull/103


More information about the serviceability-dev mailing list