Mercurial > hg > graal-jvmci-8
comparison src/cpu/sparc/vm/vm_version_sparc.cpp @ 7587:4a916f2ce331
8003985: Support @Contended Annotation - JEP 142
Summary: HotSpot changes to support @Contended annotation.
Reviewed-by: coleenp, kvn, jrose
Contributed-by: Aleksey Shipilev <aleksey.shipilev@oracle.com>
author | jwilhelm |
---|---|
date | Mon, 14 Jan 2013 15:17:47 +0100 |
parents | f0c2369fda5a |
children | 46c544b8fbfc |
comparison
equal
deleted
inserted
replaced
7586:90a92d5bca17 | 7587:4a916f2ce331 |
---|---|
257 if (!has_vis2()) // Drop to 1 if no VIS2 support | 257 if (!has_vis2()) // Drop to 1 if no VIS2 support |
258 UseVIS = MIN2((intx)1,UseVIS); | 258 UseVIS = MIN2((intx)1,UseVIS); |
259 if (!has_vis1()) // Drop to 0 if no VIS1 support | 259 if (!has_vis1()) // Drop to 0 if no VIS1 support |
260 UseVIS = 0; | 260 UseVIS = 0; |
261 | 261 |
262 if (FLAG_IS_DEFAULT(ContendedPaddingWidth) && | |
263 (cache_line_size > ContendedPaddingWidth)) | |
264 ContendedPaddingWidth = cache_line_size; | |
265 | |
262 #ifndef PRODUCT | 266 #ifndef PRODUCT |
263 if (PrintMiscellaneous && Verbose) { | 267 if (PrintMiscellaneous && Verbose) { |
264 tty->print("Allocation"); | 268 tty->print("Allocation"); |
265 if (AllocatePrefetchStyle <= 0) { | 269 if (AllocatePrefetchStyle <= 0) { |
266 tty->print_cr(": no prefetching"); | 270 tty->print_cr(": no prefetching"); |
284 tty->print_cr("PrefetchScanIntervalInBytes %d", PrefetchScanIntervalInBytes); | 288 tty->print_cr("PrefetchScanIntervalInBytes %d", PrefetchScanIntervalInBytes); |
285 } | 289 } |
286 if (PrefetchFieldsAhead > 0) { | 290 if (PrefetchFieldsAhead > 0) { |
287 tty->print_cr("PrefetchFieldsAhead %d", PrefetchFieldsAhead); | 291 tty->print_cr("PrefetchFieldsAhead %d", PrefetchFieldsAhead); |
288 } | 292 } |
293 if (ContendedPaddingWidth > 0) { | |
294 tty->print_cr("ContendedPaddingWidth %d", ContendedPaddingWidth); | |
295 } | |
289 } | 296 } |
290 #endif // PRODUCT | 297 #endif // PRODUCT |
291 } | 298 } |
292 | 299 |
293 void VM_Version::print_features() { | 300 void VM_Version::print_features() { |