Opened 16 months ago
Last modified 12 months ago
#1803 new defect
Avoid getrusage system calls in GC
Reported by: | felix winkelmann | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 5.4 |
Component: | core libraries | Version: | 5.3.0 |
Keywords: | Cc: | ||
Estimated difficulty: | medium |
Description
To calculate GC time statistics, C_cpu_milliseconds
is currently used, which results in an getrusage(2) system call on many platforms. This should be avoided, preferrably by using a faster alternative like clock(3).
Note: See
TracTickets for help on using
tickets.