This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcj-compiled jigsaw is running


Jeff Sturm wrote:

> On Wed, 2 May 2001, Cedric Berger wrote:
> > This can be worked around by allocating a small heap objects for each
> > class that points back to the static contents, right?
>
> hmm... in that case how do you define the `class$' pseudo-member?  Does
> it point to the heap object?

- Yes, class$ points to a per-class/classloader heap object
- This object points back to the real static content and to the
classloader
object (in the heap) . Maybee some of the static content could be moved
to the heap?
- the finalizer method of the classloader object dlclose all its libraries

> That would imply modifying class$ which
> could probably only be done safely at class registration.
>
> Jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]