Class: Puppet::ThreadLocal

Inherits:
Concurrent::RubyThreadLocalVar
  • Object
show all
Defined in:
lib/puppet/thread_local.rb

Overview

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.