RFR(S): 8015237: Parallelize string table scanning during strong root processing

John Cuthbertson john.cuthbertson at oracle.com
Tue Jun 4 20:58:05 UTC 2013


Hi Chris,

Thanks for looking. Replies inline...

On 6/4/2013 1:08 PM, Christian Thalinger wrote:
> Since I'm messing around in the same code right now I took a look.
> +volatile int StringTable::_par_claimed_idx = 0;
> Can't we just say parallel instead of par?

Sure. No problem.

> +  for (int i = start_idx; i < end_idx; i += 1) {
> The += 1 is perfectly sane but it looks odd :-)

I've been burned before with prefix and postfix increment operators (not 
in loop guards) so I tend to use the in-fix operator.

JohnC

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


More information about the hotspot-gc-dev mailing list