In vmError.cpp when printing out information in the fatal error handler we omit
the message in PRODUCT mode, even though the message is present. There doesn't
seem to be any benefit whatsoever to doing this. The #ifndef PRODUCT should be removed.
Admittedly some strings in guarantees aren't the most descriptive but
others are and it appears that the authors of these strings *thought* they'd
be printed out. Printing out this message would help debuggability and is free.
STEP(50)
#ifndef PRODUCT
// error message
if (_message && _message[0] != '\0') {
st->print_cr("#");
st->print_cr("# Error: %s", _message);
}
#endif // PRODUCT