Skip to content

Commit

Permalink
chore(swingset): comment out liveslots GC debug messages
Browse files Browse the repository at this point in the history
and make some enhancements should they ever need to be restored
  • Loading branch information
warner committed Jun 11, 2021
1 parent 96992fd commit c367db8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/SwingSet/src/kernel/liveSlots.js
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ function build(
assert(Array.isArray(vrefs));
vrefs.map(vref => insistVatType('object', vref));
vrefs.map(vref => assert(parseVatSlot(vref).allocatedByVat));
console.log(`-- liveslots acting upon dropExports`);
// console.log(`-- liveslots acting upon dropExports ${vrefs.join(',')}`);
for (const vref of vrefs) {
const wr = slotToVal.get(vref);
const o = wr && wr.deref();
Expand Down Expand Up @@ -897,7 +897,7 @@ function build(
assert(Array.isArray(vrefs));
vrefs.map(vref => insistVatType('object', vref));
vrefs.map(vref => assert(!parseVatSlot(vref).allocatedByVat));
console.log(`-- liveslots ignoring retireImports`);
// console.log(`-- liveslots ignoring retireImports ${vrefs.join(',')}`);
}

// TODO: when we add notifyForward, guard against cycles
Expand Down

0 comments on commit c367db8

Please sign in to comment.