hi,
   i have fixed the problem with jetty, i able to run
jetty with kaffe-1.1.1 on powerpc, But it too slow.
can some help me in optimiseing the speed of kaffe 
thanks
Syed Mudasir Ahmed
--- [EMAIL PROTECTED] wrote:
> Send kaffe mailing list submissions to
>       [EMAIL PROTECTED]
> 
> To subscribe or unsubscribe via the World Wide Web,
> visit
>       http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
> or, via email, send a message with subject or body
> 'help' to
>       [EMAIL PROTECTED]
> 
> You can reach the person managing the list at
>       [EMAIL PROTECTED]
> 
> When replying, please edit your Subject line so it
> is more specific
> than "Re: Contents of kaffe digest..."
> 
> 
> Today's Topics:
> 
>    1. CVS kaffe (kaz): kaffe/kaffevm/access.c:
> (Kaffe CVS)
>    2. Re: java.lang.IllegalAccessError (Ito
> Kazumitsu)
>    3. Re: distribution/license question (Dalibor
> Topic)
>    4. (no subject) (S. Meslin-Weber)
>    5. Re: (blank subject) (S. Meslin-Weber)
>    6. Re: gcj-3.3.2 + Kaffe CVS:
> java.lang.IllegalAccessError (Tom Tromey)
>    7. Classloader bugs (Daniel Bonniot)
> 
> --__--__--
> 
> Message: 1
> From: Kaffe CVS <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Reply-To: Kaffe Mailing List <[EMAIL PROTECTED]>
> Date: Mon, 17 Nov 2003 07:34:29 -0800
> Subject: [kaffe] CVS kaffe (kaz):
> kaffe/kaffevm/access.c:
> 
> PatchSet 4165 
> Date: 2003/11/17 15:32:38
> Author: kaz
> Branch: HEAD
> Tag: (none) 
> Log:
>         * kaffe/kaffevm/access.c:
>         (checkAccess) corrected to avoid
> java.lang.IllegalAccessError
>         using new function recursive_instanceof.
> 
> Members: 
>       ChangeLog:1.1757->1.1758 
>       kaffe/kaffevm/access.c:1.5->1.6 
> 
> Index: kaffe/ChangeLog
> diff -u kaffe/ChangeLog:1.1757
> kaffe/ChangeLog:1.1758
> --- kaffe/ChangeLog:1.1757    Thu Nov 13 13:54:52 2003
> +++ kaffe/ChangeLog   Mon Nov 17 15:32:38 2003
> @@ -1,3 +1,9 @@
> +2003-11-17  Ito Kazumitsu  <[EMAIL PROTECTED]>
> +
> +     * kaffe/kaffevm/access.c:
> +     (checkAccess) corrected to avoid
> java.lang.IllegalAccessError
> +     using new function recursive_instanceof.
> +
>  2003-11-13  Dalibor Topic <[EMAIL PROTECTED]>
>  
>       * config/config.alias:
> Index: kaffe/kaffe/kaffevm/access.c
> diff -u kaffe/kaffe/kaffevm/access.c:1.5
> kaffe/kaffe/kaffevm/access.c:1.6
> --- kaffe/kaffe/kaffevm/access.c:1.5  Wed Nov 12
> 15:17:14 2003
> +++ kaffe/kaffe/kaffevm/access.c      Mon Nov 17 15:32:40
> 2003
> @@ -92,6 +92,44 @@
>       return( retval );
>  }
>  
> +/*
> + * Returns 1 if oc is an instance of c or the
> superclass of c ...
> + */
> +static
> +int recursive_instanceof(Hjava_lang_Class *c,
> Hjava_lang_Class *oc)
> +{
> +     if ( instanceof(c, oc) )
> +     {
> +             return 1;
> +     }
> +     else
> +     {
> +                     innerClass *ic;
> +             Hjava_lang_Class *outer;
> +             errorInfo einfo;
> +             ic = NULL;
> +             outer = NULL;
> +
> +             if( oc->this_inner_index >= 0 )
> +             {
> +                     ic = &oc->inner_classes[oc->this_inner_index];
> +                     if( ic->outer_class )
> +                     {
> +                             outer = getClass(ic->outer_class, oc, &einfo);
> +                             if( outer == NULL )
> +                             {
> +                                     discardErrorInfo(&einfo);
> +                             }
> +                     }
> +             }
> +             if ( outer != NULL )
> +             {
> +                     return recursive_instanceof(c, outer);
> +             }
> +             return 0;
> +     }
> +}
> +
>  int checkAccess(struct Hjava_lang_Class *context,
>               struct Hjava_lang_Class *target,
>               accessFlags target_flags)
> @@ -154,21 +192,23 @@
>                       }
>               }
>  
> -             if( outert != NULL )
> +             if( outerc != NULL )
>               {
> -                     if( instanceof(outert, context) )
> -                     {
> +                     if ( recursive_instanceof(target, outerc) )
> +                     {
>                               class_acc = 1;
>                       }
> -                     else if (outerc != NULL)
> +                     else if (outert != NULL)
>                       {
> -                             class_acc = instanceof(outert, outerc);
> +                             class_acc = recursive_instanceof(outert,
> outerc);
>                       }
> +
>               }
> -             else if( outerc != NULL )
> +             else if ( outert != NULL )
>               {
> -                     class_acc = instanceof(target, outerc);
> +                     class_acc = instanceof(outert, context);
>               }
> +
>       }
>       
>       if((context->packageLength ==
> target->packageLength) &&
> 
> 
> --__--__--
> 
> Message: 2
> From: Ito Kazumitsu <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: [kaffe] java.lang.IllegalAccessError
> Date: Tue, 18 Nov 2003 00:34:25 +0900
> 
> >>>>> ":" == Ito Kazumitsu <[EMAIL PROTECTED]>
> writes:
> 
> :> :> I hope the last patch of mine will solve this.
> :> 
> :> But that patch will not work if the nesting of
> classes gets deeper:
> 
> I hope my patch dated 2003-11-17 will solve this.
> 
> 
> --__--__--
> 
> Message: 3
> Date: Mon, 17 Nov 2003 17:47:47 +0100
> From: Dalibor Topic <[EMAIL PROTECTED]>
> To: Dario Laverde <[EMAIL PROTECTED]>
> CC:  [EMAIL PROTECTED]
> Subject: Re: [kaffe] distribution/license question
> 
> Dario Laverde wrote:
> > Can I redistribute Kaffe as part of a commercial
> app as does Sun 
> > allowing integration with your application w/o
> requiring a separate 
> > installation? But more so than Sun, do I have to
> include the whole 
> > distro? I'm looking to include only a subset 
> (personal java equivalent)
> 
> GPL says: you can distribute according to GPL.
> Depending 
=== message truncated ===


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

_______________________________________________
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to