| 408 | } |
| 409 | |
| 410 | size_t usedMemory() { |
| 411 | return _method_map.usedMemory() + _thread_set.usedMemory() + |
| 412 | (_memfd >= 0 ? lseek(_memfd, 0, SEEK_CUR) : 0); |
| 413 | } |
| 414 | |
| 415 | void cpuMonitorCycle() { |
| 416 | if (!_cpu_monitor_enabled) return; |
nothing calls this directly
no test coverage detected