Mercurial > hg > truffle
diff src/share/vm/runtime/stubRoutines.hpp @ 3892:baf763f388e6
7059037: Use BIS for zeroing on T4
Summary: Use BIS for zeroing new allocated big (2Kb and more) objects and arrays.
Reviewed-by: never, twisti, ysr
author | kvn |
---|---|
date | Fri, 26 Aug 2011 08:52:22 -0700 |
parents | d83ac25d0304 |
children | c565834fb592 |
line wrap: on
line diff
--- a/src/share/vm/runtime/stubRoutines.hpp Thu Aug 25 20:29:30 2011 -0700 +++ b/src/share/vm/runtime/stubRoutines.hpp Fri Aug 26 08:52:22 2011 -0700 @@ -199,6 +199,9 @@ static address _arrayof_jshort_fill; static address _arrayof_jint_fill; + // zero heap space aligned to jlong (8 bytes) + static address _zero_aligned_words; + // These are versions of the java.lang.Math methods which perform // the same operations as the intrinsic version. They are used for // constant folding in the compiler to ensure equivalence. If the @@ -332,6 +335,7 @@ static address select_fill_function(BasicType t, bool aligned, const char* &name); + static address zero_aligned_words() { return _zero_aligned_words; } static double intrinsic_log(double d) { assert(_intrinsic_log != NULL, "must be defined");