# File ruby/jbridge.rb, line 939 def initialize @@object_id_table = Hash.new # __id__ -> proxy_id @@object_ref_counter = Hash.new # proxy_id -> refcounter @@object_lock = Monitor.new # lock for finalizer registration and deregistration # I'm not sure that using lists without locking... @@using_list1 = false @@finalizable_id_list1 = [] @@using_list2 = false @@finalizable_id_list2 = [] @@later_registration_list = [] end