◐ Shell
clean mode source ↗

Linux ARM appears to have a memory handling bug

On my branch of the repo, I've added automatic testing for Linux-arm and the following tests fail:

  1) Worker
       can track objects to free on context shutdown:
     Uncaught AssertionError [ERR_ASSERTION]: Failed
      at Worker.<anonymous> (test/tests/worker.js:138:18)
      at Worker.emit (node:events:531:35)
      at [kOnExit] (node:internal/worker:318:10)
      at Worker.<computed>.onexit (node:internal/worker:232:20)

  2) Worker
       can track objects to free on context shutdown after multiple checkouts:
     Uncaught AssertionError [ERR_ASSERTION]: Failed
      at Worker.<anonymous> (test/tests/worker.js:211:18)
      at Worker.emit (node:events:531:35)
      at [kOnExit] (node:internal/worker:318:10)
      at Worker.<computed>.onexit (node:internal/worker:232:20)

I'm working through it, but it seems that on ARM the SelfFreeingInstanceCount is not being updated properly. I'll update this issue if I figure it out in more detail