How to tell whether a section of java code is heap-allocation-free?

后端 未结 0 1698
故里飘歌
故里飘歌 2020-12-01 02:53

I have a java function whose documentation claims that it does no heap memory allocations.

How can I verify whether it (still) behaves as claimed, at runtime?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题