public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "tromey at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug libgcj/21524] Cancelling a TimerTask puts Timer binary heap in inconsistent state
Date: Wed, 21 Jun 2006 20:09:00 -0000	[thread overview]
Message-ID: <20060621200936.27150.qmail@sourceware.org> (raw)
In-Reply-To: <bug-21524-10617@http.gcc.gnu.org/bugzilla/>



------- Comment #4 from tromey at gcc dot gnu dot org  2006-06-21 20:09 -------
I looked at this a little today.
The code does look wrong, but I couldn't write a simple test case
to make it fail.  Do you have one?

One problem I see is that serve() uses the task's 'scheduled' field
without checking to see if it is == -1.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21524


       reply	other threads:[~2006-06-21 20:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-21524-10617@http.gcc.gnu.org/bugzilla/>
2006-06-21 20:09 ` tromey at gcc dot gnu dot org [this message]
     [not found] <bug-21524-8172@http.gcc.gnu.org/bugzilla/>
2012-01-11 14:04 ` rguenth at gcc dot gnu.org
2005-05-11 23:38 [Bug java/21524] New: " jradel at 2wire dot com
2005-05-11 23:43 ` [Bug libgcj/21524] " pinskia at gcc dot gnu dot org
2005-05-12 18:32 ` jradel at 2wire dot com
2005-05-13 16:30 ` tromey at gcc dot gnu dot org

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=20060621200936.27150.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=java-prs@gcc.gnu.org \
    /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).