8003878: compiler/7196199 test failed on OS X since 8b54, jdk7u12b01

Wed, 23 Jan 2013 15:11:03 -0800

author
kvn
date
Wed, 23 Jan 2013 15:11:03 -0800
changeset 4480
522c328b8b77
parent 4479
b30b3c2a0cf2
child 4481
22ead76da3f4

8003878: compiler/7196199 test failed on OS X since 8b54, jdk7u12b01
Summary: Limit vectors size to 16 bytes on BSD until the problem is fixed
Reviewed-by: twisti

src/cpu/x86/vm/vm_version_x86.cpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/cpu/x86/vm/vm_version_x86.cpp	Tue Jan 22 15:34:16 2013 -0800
     1.2 +++ b/src/cpu/x86/vm/vm_version_x86.cpp	Wed Jan 23 15:11:03 2013 -0800
     1.3 @@ -661,6 +661,14 @@
     1.4        }
     1.5      }
     1.6    }
     1.7 +#if defined(COMPILER2) && defined(_ALLBSD_SOURCE)
     1.8 +    if (MaxVectorSize > 16) {
     1.9 +      // Limit vectors size to 16 bytes on BSD until it fixes
    1.10 +      // restoring upper 128bit of YMM registers on return
    1.11 +      // from signal handler.
    1.12 +      FLAG_SET_DEFAULT(MaxVectorSize, 16);
    1.13 +    }
    1.14 +#endif // COMPILER2
    1.15  
    1.16    // Use population count instruction if available.
    1.17    if (supports_popcnt()) {

mercurial