In CRuby, the deleted count in the stats appears to indicate those
hooks that have been slated for removal from the hook list but not
yet actually removed. JRuby actively removes the hook immediately
when requested, so this deleted count is not really accurate.
The added count is all the other hooks in the list that have not
been slated for removal, and should be calculated live from that
list.
Tracking these values separately is error prone and we did not
really represent deleted the way it seems to be used in CRuby.
In CRuby, the deleted count in the stats appears to indicate those hooks that have been slated for removal from the hook list but not yet actually removed. JRuby actively removes the hook immediately when requested, so this deleted count is not really accurate.
The added count is all the other hooks in the list that have not been slated for removal, and should be calculated live from that list.
Tracking these values separately is error prone and we did not really represent deleted the way it seems to be used in CRuby.