hotspot/src/share/vm/runtime/commandLineFlagConstraintsCompiler.cpp
changeset 42063 dca9294d9f59
parent 38220 8d86b82e0ac7
child 45804 41b19cb98a96
child 46422 6ecc7cc67619
equal deleted inserted replaced
42062:473286891dd8 42063:dca9294d9f59
     1 /*
     1 /*
     2  * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2015, 2016, 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.
   359    }
   359    }
   360 
   360 
   361   int minimum_alignment = 16;
   361   int minimum_alignment = 16;
   362 #if defined(SPARC) || (defined(X86) && !defined(AMD64))
   362 #if defined(SPARC) || (defined(X86) && !defined(AMD64))
   363   minimum_alignment = 4;
   363   minimum_alignment = 4;
       
   364 #elif defined(S390)
       
   365   minimum_alignment = 2;
   364 #endif
   366 #endif
   365 
   367 
   366   if (InteriorEntryAlignment < minimum_alignment) {
   368   if (InteriorEntryAlignment < minimum_alignment) {
   367     CommandLineError::print(verbose,
   369     CommandLineError::print(verbose,
   368                             "InteriorEntryAlignment (" INTX_FORMAT ") must be "
   370                             "InteriorEntryAlignment (" INTX_FORMAT ") must be "