Actions
Bug #20910
closedleaked-globals not happy about dtrace related symbols
Bug #20910:
leaked-globals not happy about dtrace related symbols
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 3.3.6 (2024-11-05 revision 75015d4c1f) [amd64-solaris2.11]
Description
I am not sure if this is Solaris specific, but when I build Ruby 3.3.6 with dtrace enabled and run its test suite, the leaked-globals checker fails with the following:
Checking leaked global symbols...48 un-prefixed symbols leaked
leaked
__dtraceenabled_ruby___array-create
__dtrace_ruby___array-create
__dtraceenabled_ruby___raise
__dtrace_ruby___raise
__dtraceenabled_ruby___gc-sweep-begin
....
I believe that these are not problematic and can be there.
The following simple change fixed the issue:
Actions