The GitHub Actions job "Lint PR" on texera.git/perf/reuse-sizeof-engine has 
failed.
Run started by GitHub user Matthew-DWM (triggered by Matthew-DWM).

Head commit for run:
2360ec89a42cffa91eedc4d9aefd4ca7d9902adc / Matthew-DWM <[email protected]>
perf(workflow-core): reuse one SizeOf engine for tuple sizing

Tuple computed inMemSize with SizeOf.newInstance().deepSizeOf(this), so every
row built a new sizing engine. On JDK 17 the library cannot attach its agent to
the running JVM, so each newInstance() built an AgentSizeOf, caught the
UnsupportedOperationException it threw, then built an UnsafeSizeOf, and the
walk that followed rebuilt reflection caches for every class it reached.

Tuple now keeps one engine in its companion object and still calls
deepSizeOf(this) eagerly in the constructor, so each row's charge is the same.
deepSizeOf keeps each walk's traversal state local to the call and caches only
per-class facts in concurrent maps, so the shared engine is thread-safe.

Report URL: https://github.com/apache/texera/actions/runs/44968885044

With regards,
GitHub Actions via GitBox

Reply via email to