public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Hans Boehm <Hans.Boehm@hp.com>
To: Tom Tromey <tromey@redhat.com>
Cc: Andrew Haley <aph@redhat.com>, "Boehm, Hans" <hans.boehm@hp.com>,
		Bryce McKinlay <mckinlay@redhat.com>,
		Robert Schuster <theBohemian@gmx.net>,
	java-patches@gcc.gnu.org
Subject: Re: FYI: Linker & Verifier fixes (really GC mark procedures)
Date: Fri, 03 Feb 2006 05:30:00 -0000	[thread overview]
Message-ID: <Pine.GHP.4.58.0602022122440.16452@tomil.hpl.hp.com> (raw)
In-Reply-To: <m3slr18dqs.fsf@localhost.localdomain>

On Thu, 2 Feb 2006, Tom Tromey wrote:

> >>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:
>
> Tom> I did a little work on the gcjx branch in this area.  But it has
> Tom> never been tested.  Anyway the idea was that the compiler could emit
> Tom> real mark descriptors for Class, by special-casing it a bit in
> Tom> boehm.c.
>
> I looked at this today.  We can't scan Class using a bitmap descriptor
> yet, because its layout is wrong for this.  The descriptor overflows
> and we have to fall back to procedural scanning.
>
Just to be clear, since I'm not quite sure I understand what you're saying
here:  I don't think it's the mark procedure per se
that's the problem.  The issue is having a mark procedure that
walks complicated data structures and traces those instead of just
pushing directly referenced objects.

In particular, I don't think there's a problem with using a mark
procedure to deal with bitmap overflow issues, as we do for a few
ordinary objects.  It does normally add some overhead.  But if the
object is large enough to overflow (especially a 64-bit) bitmap, that's
probably not dominant.

Hans

  reply	other threads:[~2006-02-03  5:30 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-01 18:22 Boehm, Hans
2006-02-01 18:43 ` Andrew Haley
2006-02-01 19:39   ` Bryce McKinlay
2006-02-01 19:44   ` Tom Tromey
2006-02-01 19:56     ` Andrew Haley
2006-02-01 20:09       ` Bryce McKinlay
2006-02-02 12:22         ` Andrew Haley
2006-02-03  1:22     ` Tom Tromey
2006-02-03  5:30       ` Hans Boehm [this message]
2006-02-03 16:56         ` Tom Tromey
2006-02-03 17:07           ` David Daney
2006-02-03 17:53       ` Bryce McKinlay
2006-02-03 18:09         ` David Daney
2006-02-03 18:12           ` Andrew Haley
2006-02-03 19:38           ` Bryce McKinlay
2006-02-01 19:42 ` Tom Tromey
2006-02-04  1:18 Boehm, Hans

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.GHP.4.58.0602022122440.16452@tomil.hpl.hp.com \
    --to=hans.boehm@hp.com \
    --cc=aph@redhat.com \
    --cc=java-patches@gcc.gnu.org \
    --cc=mckinlay@redhat.com \
    --cc=theBohemian@gmx.net \
    --cc=tromey@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).