RFR: 8068396: Rename assert() to vmassert()

David Holmes david.holmes at oracle.com
Wed Dec 31 03:10:58 UTC 2014

On 31/12/2014 12:44 PM, Kim Barrett wrote:
> On Dec 30, 2014, at 8:22 PM, David Holmes <david.holmes at oracle.com> wrote:
>>> * Simplified the definition of vmassert_status to just use vmassert,
>> But by doing that you are forcing evaluation of err_msg and strerror in all cases, rather than only when the assertion condition is false.
> vmassert (nee assert) only evaluates the msg argument when the assertion condition is false.  It’s a macro, after all.

Yep - my bad. Sorry.


More information about the hotspot-dev mailing list