RFR(XXS): 8043180: SIGSEGV in Events::log_deopt_message
John Rose
john.r.rose at oracle.com
Thu May 15 21:50:13 UTC 2014
On May 14, 2014, at 10:01 PM, Igor Veresov <igor.veresov at oracle.com> wrote:
> I implemented a functionality mimicking static_assert in C++11 only to notice that we already have a STATIC_ASSERT in debug.hpp.
> Anyways, here is the solution that asserts the proper array sizes statically.
>
> Webrev: http://cr.openjdk.java.net/~iveresov/8043180/webrev.02
We also have ARRAY_SIZE (in globalDef's.hpp). Might as well use that also.
(Yes, the name is a little feeble, but there it is. I might have called it ARRAY_LENGTH or array_element_count.)
— John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20140515/aabe2468/attachment-0001.html>
More information about the hotspot-compiler-dev
mailing list