[kaffe] jetty working kaffe

Syed Mudasir ahmed mudasir_1975 at yahoo.com
Tue Nov 18 07:42:03 PST 2003


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
--- kaffe-request at kaffe.org wrote:
> Send kaffe mailing list submissions to
> 	kaffe at kaffe.org
> 
> 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
> 	kaffe-request at kaffe.org
> 
> You can reach the person managing the list at
> 	kaffe-admin at kaffe.org
> 
> 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 <cvs-commits at kaffe.org>
> To: kaffe at kaffe.org
> Reply-To: Kaffe Mailing List <kaffe at kaffe.org>
> 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  <kaz at maczuka.gcd.org>
> +
> +	* kaffe/kaffevm/access.c:
> +	(checkAccess) corrected to avoid
> java.lang.IllegalAccessError
> +	using new function recursive_instanceof.
> +
>  2003-11-13  Dalibor Topic <robilad at kaffe.org>
>  
>  	* 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 <kaz at maczuka.gcd.org>
> To: kaffe at kaffe.org
> Subject: Re: [kaffe] java.lang.IllegalAccessError
> Date: Tue, 18 Nov 2003 00:34:25 +0900
> 
> >>>>> ":" == Ito Kazumitsu <kaz at maczuka.gcd.org>
> 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 <robilad at kaffe.org>
> To: Dario Laverde <dario at escape.com>
> CC:  kaffe at kaffe.org
> 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




More information about the kaffe mailing list