void
setup_rb(bool preserve_rb_pointerp) {
- int lowp=new_rb_start!=rb_start || rb_high();
+ int lowp=rb_high();
update_pool(2*(nrbpage-page(rb_size())));
rb_start=new_rb_start;
char *start=rb_begin(),*new_start=heap_end+hp*PAGESIZE;
ufixnum size=rb_pointer-start;
- if (!in_placep &&
- ((new_start<=start && start<new_start+size) || (new_start<start+size && start+size<=new_start+size))) {
+ if (!in_placep && (rb_high() ?
+ new_start+size>rb_end :
+ new_start+(nrbpage<<PAGEWIDTH)<start+size
+ /* 0 (20190401 never reached)*/
+ )) {
if (sSAnotify_gbcA->s.s_dbind != Cnil)
- emsg("Toggling relblock when resizing hole to %lu\n",hp);
+ emsg("[GC Toggling relblock when resizing hole to %lu]\n",hp);
tm_table[t_relocatable].tm_adjgbccnt--;
GBC(t_relocatable);
return resize_hole(hp,tp,in_placep);
d=(available_pages/3)<d ? (available_pages/3) : d;
if (sSAnotify_gbcA && sSAnotify_gbcA->s.s_dbind != Cnil)
- emsg("Hole overrun\n");
+ emsg("[GC Hole overrun]\n");
resize_hole(d+nn,t_relocatable,0);
if (rb_high() && m>((rb_start-heap_end)>>PAGEWIDTH)) {
if (sSAnotify_gbcA->s.s_dbind != Cnil)
- emsg("Moving relblock low before expanding relblock pages\n");
+ emsg("[GC Moving relblock low before expanding relblock pages]\n");
tm_table[t_relocatable].tm_adjgbccnt--;
GBC(t_relocatable);
}