On 16 Mar 2001 18:57:57 -0800, noisebrain wrote:
> I have a performance problem that would be explained if the
> following were true:
>
> x = new Something()
> x.methodcall(); // not compiled yet
> x.methodcall(); // second call, compiled now?
> y = new int[100000]; // causes gc, DISCARDS THE COMPILED x ??
> x.methodcall(); // compiled version gone interpreted now?
>
> I.e., I'm wondering if a gc can discard a compiled method and
> cause it to run interpreted again the next time it is called.
> Is this possible?
The compiled code are not Java objects anymore, so they cannot be
garbage collected.
--
Weiqi Gao
[EMAIL PROTECTED]
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]