RFR(two-liner): 8212707: GlobalCounter padding is too optimistic (original) (raw)
Robbin Ehn robbin.ehn at oracle.com
Mon Oct 22 11:13:35 UTC 2018
- Previous message: RFR(two-liner): 8212707: GlobalCounter padding is too optimistic
- Next message: RFR(two-liner): 8212707: GlobalCounter padding is too optimistic
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Thanks for reviewing and spotting it!
/Robbin
On 10/22/18 1:06 PM, Aleksey Shipilev wrote:
On 10/22/2018 01:06 PM, Robbin Ehn wrote:
diff -r bca2b63dd839 src/hotspot/share/utilities/globalCounter.hpp --- a/src/hotspot/share/utilities/globalCounter.hpp Mon Oct 22 14:08:07 2018 +0800 +++ b/src/hotspot/share/utilities/globalCounter.hpp Mon Oct 22 11:48:17 2018 +0200 @@ -48,1 +48,1 @@ - DEFINEPADMINUSSIZE(0, DEFAULTCACHELINESIZE/2, 0); + DEFINEPADMINUSSIZE(0, DEFAULTCACHELINESIZE, 0); @@ -50,1 +50,1 @@ - DEFINEPADMINUSSIZE(1, DEFAULTCACHELINESIZE/2, sizeof(volatile uintx)); + DEFINEPADMINUSSIZE(1, DEFAULTCACHELINESIZE, sizeof(volatile uintx)); Looks good! -Aleksey
- Previous message: RFR(two-liner): 8212707: GlobalCounter padding is too optimistic
- Next message: RFR(two-liner): 8212707: GlobalCounter padding is too optimistic
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]