6730514: assertion failure in mangling code when expanding by 0 bytes

An expansion by 0 bytes was not anticipated when the assertion was composed.

Reviewed-by: jjh, jcoomes, apetrusenko
This commit is contained in:
Jon Masamitsu 2008-07-30 11:54:00 -07:00
parent b8633a3b01
commit 74b3de5c3b
9 changed files with 87 additions and 53 deletions

View file

@ -184,7 +184,7 @@ public:
void post_compact();
size_t contiguous_available() const;
bool grow_by(size_t bytes);
void grow_to_reserved();
virtual bool grow_to_reserved();
void clear_remembered_set();
void invalidate_remembered_set();