[webkit-changes] cvs commit: JavaScriptCore/bindings/objc objc_class.mm

Adele adele at opensource.apple.com
Thu Aug 4 09:49:39 PDT 2005


adele       05/08/04 09:49:39

  Modified:    .        Tag: Safari-2-0-branch ChangeLog
               bindings/objc Tag: Safari-2-0-branch objc_class.mm
  Log:
          Merged fix from TOT to Safari-2-0-branch
  
          Submitted by: rjw at apple.com
          Reviewed by: cblu at apple.com
          Fixed hard capacity limit on the method and field cache use for the ObjC bindings.
  
          <rdar://problem/4204416> Dashboard client crashes when too many ObjC methods are called
  
          * bindings/objc/objc_class.mm: (ObjcClass::_commonInit):
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.677.6.16 +12 -0     JavaScriptCore/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  RCS file: /cvs/root/JavaScriptCore/ChangeLog,v
  retrieving revision 1.677.6.15
  retrieving revision 1.677.6.16
  diff -u -r1.677.6.15 -r1.677.6.16
  --- ChangeLog	2 Aug 2005 23:06:41 -0000	1.677.6.15
  +++ ChangeLog	4 Aug 2005 16:49:37 -0000	1.677.6.16
  @@ -1,3 +1,15 @@
  +2005-08-04  Adele Peterson  <adele at apple.com>
  +
  +        Merged fix from TOT to Safari-2-0-branch
  +
  +        Submitted by: rjw at apple.com
  +        Reviewed by: cblu at apple.com
  +        Fixed hard capacity limit on the method and field cache use for the ObjC bindings.
  +
  +        <rdar://problem/4204416> Dashboard client crashes when too many ObjC methods are called
  +
  +        * bindings/objc/objc_class.mm: (ObjcClass::_commonInit):
  +
   2005-08-02  Geoffrey Garen  <ggaren at apple.com>
           - minor tweak to last checkin
           
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.8.10.1  +2 -2      JavaScriptCore/bindings/objc/objc_class.mm
  
  Index: objc_class.mm
  ===================================================================
  RCS file: /cvs/root/JavaScriptCore/bindings/objc/objc_class.mm,v
  retrieving revision 1.8
  retrieving revision 1.8.10.1
  diff -u -r1.8 -r1.8.10.1
  --- objc_class.mm	1 Oct 2004 00:24:39 -0000	1.8
  +++ objc_class.mm	4 Aug 2005 16:49:38 -0000	1.8.10.1
  @@ -48,8 +48,8 @@
   void ObjcClass::_commonInit (ClassStructPtr aClass)
   {
       _isa = aClass;
  -    _methods = CFDictionaryCreateMutable(NULL, 16, &kCFTypeDictionaryKeyCallBacks, NULL);
  -    _fields = CFDictionaryCreateMutable(NULL, 16, &kCFTypeDictionaryKeyCallBacks, NULL);
  +    _methods = CFDictionaryCreateMutable(NULL, 0, &kCFTypeDictionaryKeyCallBacks, NULL);
  +    _fields = CFDictionaryCreateMutable(NULL, 0, &kCFTypeDictionaryKeyCallBacks, NULL);
   }
   
   
  
  
  



More information about the webkit-changes mailing list