RFR: 8157698: PreservedMarksSet: don't launch workers if ParallelGCThreads==1 (extra small / simple)

Stefan Karlsson stefan.karlsson at oracle.com
Thu May 26 11:04:13 UTC 2016


Hi Tony,

On 2016-05-24 18:11, Tony Printezis wrote:
> Just realized that restore_interval(WorkGang* workers) always calls 
> run_task(), even if active worker num  == 1 (that was my bad). We 
> generally call task.work(0) directly when active worker num == 1.
>
> http://cr.openjdk.java.net/~tonyp/8157698/webrev.1/ 
> <http://cr.openjdk.java.net/%7Etonyp/8157698/webrev.1/>
>
> Is this change reasonable?

Yes, looks good to me.

Thanks,
StefanK

>
> Tony
>
> -----
>
> Tony Printezis | JVM/GC Engineer / VM Team | Twitter
>
> @TonyPrintezis
> tprintezis at twitter.com <mailto:tprintezis at twitter.com>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20160526/24097e9c/attachment.htm>


More information about the hotspot-gc-dev mailing list