Sha256: e35f700224678408d840fbeb5b625afbd29751da258cc9f4bc7d5bb48c4823a0

Contents?: true

Size: 328 Bytes

Versions: 4

Compression:

Stored size: 328 Bytes

Contents

# frozen_string_literal: true
require 'concurrent'

# We want to use the pure Ruby implementation even on JRuby. If we use the Java
# implementation of ThreadLocal, we end up leaking references to JRuby instances
# and preventing them from being garbage collected.
class Puppet::ThreadLocal < Concurrent::RubyThreadLocalVar
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
puppet-8.0.1 lib/puppet/thread_local.rb
puppet-8.0.1-x86-mingw32 lib/puppet/thread_local.rb
puppet-8.0.1-x64-mingw32 lib/puppet/thread_local.rb
puppet-8.0.1-universal-darwin lib/puppet/thread_local.rb