You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: object_tracker.rb
    path of file: ./repos/crystalball/lib/crystalball/map_generator/allocated_objects_strategy
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require 'set'

module Crystalball
  class MapGenerator
    class AllocatedObjectsStrategy
      # Class to list object classes
    
        def trace_point
          @trace_point ||= TracePoint.new(:c_call) do |tp|
            next unless tp.method_id == :new || tp.method_id == :allocate
            next unless whitelisted_constants.any? { |c| tp.self <= c }

            created_object_classes << tp.self
          end
        end