|
From: | Archie Cobbs |
Subject: | Re: [cp-patches] FYI: ClassLoader caching Part 2 |
Date: | Mon, 25 Jul 2005 10:41:54 -0500 |
User-agent: | Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129 |
Mark Wielaard wrote:
I committed the attached patch to complete to ability of the VM to bypass the class caching in ClassLoader.This won't work if you make the VM_USE_CACHE field static final. Then the constant will be compiled into ClassLoader making it impossible to override for the runtime vm-classes later. It has to be a static method for that to work.
I don't understand your comment.. this cache is for defined classes, not loaded classes (despite what the comment says). Since class definition is (by definition :-) something the VM itself must do, then if the VM declares that it caches this list internally for all ClassLoaders, then it has every right to make such a claim... ? -Archie __________________________________________________________________________ Archie Cobbs * CTO, Awarix * http://www.awarix.com
[Prev in Thread] | Current Thread | [Next in Thread] |