RFR 8146991: Introduce per-worker preserved mark stacks in ParallelGC (original) (raw)

Thomas Schatzl thomas.schatzl at oracle.com
Thu Mar 3 14:35:12 UTC 2016


Hi Tony,

On Tue, 2016-03-01 at 13:22 -0500, Tony Printezis wrote:

Hi all,

These are the per-worker preserved mark stack changes for ParallelGC: http://cr.openjdk.java.net/~tonyp/8146991/webrev.0/ They are similar to the ParNew changes and rely on some classes I introduced then.

Like PreservedMarks::get() returned the number of preserved marks, and the method just added them together.

Quick question on this: I moved:

logtrace(gc, ergo)("Restoring " SIZEFORMAT " marks", totalsize()); to the shared code so that the message is logged irrespective of GC (for example, I don’t think we were logging this for ParNew or DefNew). Is “ergo” the right category here though?

Otherwise it looks good to me. I will run it through jprt and some test list.

Thanks, Thomas



More information about the hotspot-gc-dev mailing list