hotspot/src/cpu/sparc/vm/vm_version_sparc.cpp
changeset 30209 8ea30dc99369
parent 26579 522d6486f410
child 30217 5eb8768d86c4
equal deleted inserted replaced
30208:ed11124f18e1 30209:8ea30dc99369
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   354 
   354 
   355   if (FLAG_IS_DEFAULT(ContendedPaddingWidth) &&
   355   if (FLAG_IS_DEFAULT(ContendedPaddingWidth) &&
   356     (cache_line_size > ContendedPaddingWidth))
   356     (cache_line_size > ContendedPaddingWidth))
   357     ContendedPaddingWidth = cache_line_size;
   357     ContendedPaddingWidth = cache_line_size;
   358 
   358 
       
   359   // This machine does not allow unaligned memory accesses
       
   360   if (UseUnalignedAccesses) {
       
   361     if (!FLAG_IS_DEFAULT(UseUnalignedAccesses))
       
   362       warning("Unaligned memory access is not available on this CPU");
       
   363     FLAG_SET_DEFAULT(UseUnalignedAccesses, false);
       
   364   }
       
   365 
   359 #ifndef PRODUCT
   366 #ifndef PRODUCT
   360   if (PrintMiscellaneous && Verbose) {
   367   if (PrintMiscellaneous && Verbose) {
   361     tty->print_cr("L1 data cache line size: %u", L1_data_cache_line_size());
   368     tty->print_cr("L1 data cache line size: %u", L1_data_cache_line_size());
   362     tty->print_cr("L2 cache line size: %u", L2_cache_line_size());
   369     tty->print_cr("L2 cache line size: %u", L2_cache_line_size());
   363     tty->print("Allocation");
   370     tty->print("Allocation");