• Chao Xu's avatar
    Charge quota for uninitialized objects at different time · b0c83c72
    Chao Xu authored
    Charge object count when object is created, no matter if the object is
    initialized or not.
    Charge the remaining quota when the object is initialized.
    
    Also, checking initializer.Pending and initializer.Result when
    determining if an object is initialized. We didn't need to check them
    because before 51082, having 0 pending initializer and nil
    initializers.Result is invalid.
    b0c83c72