Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
The HotSpot assert(), guarantee(), etc., macros require a message argument which is printed if the condition does not hold, e.g.: assert(referent->is_oop(), "bad referent"); As currently implemented the message must be a string literal. It would be much more useful if multiple arguments could be used with format strings to provide more information, e.g.: assert(referent->is_oop(), "bad referent %p", referent);
|