Code Review for main-hotspot-taskqueue_fence

Prepared by:Goetz on Tue Mar 5 16:54:05 CET 2013
Workspace:/net/usr.work/d045726/oJ/8/main-hotspot-taskqueue_fence
Compare against: http://hg.openjdk.java.net/hsx/hotspot-main/hotspot
Compare against version:4230
Summary of changes: 9 lines changed: 7 ins; 0 del; 2 mod; 770 unchg
Patch of changes: main-hotspot-taskqueue_fence.patch
Bug id: 8006971
Legend: Modified file
Deleted file
New file

Cdiffs Udiffs Wdiffs Sdiffs Frames Old New Patch Raw src/share/vm/utilities/taskqueue.hpp

rev 4231 : Fix memory ordering in taskqueue for platforms with weak memory ordering (PPC).

Add fence as described in "Correct and Efficient Work-Stealing for Weak Memory Models;
Le, Pop, Cohen, Nardelli; PPoPP 13".  With four or more GC threads bottom can be
older than age in get_bottom().
9 lines changed: 7 ins; 0 del; 2 mod; 770 unchg

This code review page was prepared using /usr/local/bin/webrev.ksh (vers 23.18-hg).