Mercurial > hg > truffle
comparison src/share/vm/opto/stringopts.hpp @ 2481:3a808be061ff
6988308: assert((cnt > 0.0f) && (prob > 0.0f)) failed: Bad frequency assignment in if
Summary: Make sure cnt doesn't become negative and integer overflow doesn't happen.
Reviewed-by: kvn, twisti
author | iveresov |
---|---|
date | Wed, 13 Apr 2011 14:33:03 -0700 |
parents | f95d63e2154a |
children | 8f972594effc |
comparison
equal
deleted
inserted
replaced
2480:4b95bbb36464 | 2481:3a808be061ff |
---|