public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/19003] New: Potential problems in libjava system calls with gc-boehm
@ 2004-12-15  8:04 Stephane dot Epardaud at sophia dot inria dot fr
  2004-12-15  9:58 ` [Bug libgcj/19003] " pinskia at gcc dot gnu dot org
  2005-01-15  6:05 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 4+ messages in thread
From: Stephane dot Epardaud at sophia dot inria dot fr @ 2004-12-15  8:04 UTC (permalink / raw)
  To: java-prs

Hello,

I am using the Boehm GC myself, and noticed that some system calls (in
particular select) can be blocked by the GC (which is using signals and signal
handlers to block threads) and return with an error of -1 and errno set to EINTR.
I looked at gcj's libjava implementation to see if you handled it better than I
did, and I noticed that you do handle EINTR in the select system call by using
_Jv_select, and you also handle it when reading/writing to local files, but I
think you omitted the reading/writing of network sockets and accept system calls.
There might be other places too: basically what I understand of the Boehm GC is
that it can block any thread at any place in order to do a GC, and when that
happens in a thread within a system call that can return an error of EINTR, you
have to treat that error specially and redo that system call.

-- 
           Summary: Potential problems in libjava system calls with gc-boehm
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Stephane dot Epardaud at sophia dot inria dot fr
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libgcj/19003] Potential problems in libjava system calls with gc-boehm
  2004-12-15  8:04 [Bug java/19003] New: Potential problems in libjava system calls with gc-boehm Stephane dot Epardaud at sophia dot inria dot fr
@ 2004-12-15  9:58 ` pinskia at gcc dot gnu dot org
  2005-01-15  6:05 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-15  9:58 UTC (permalink / raw)
  To: java-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|java                        |libgcj


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libgcj/19003] Potential problems in libjava system calls with gc-boehm
  2004-12-15  8:04 [Bug java/19003] New: Potential problems in libjava system calls with gc-boehm Stephane dot Epardaud at sophia dot inria dot fr
  2004-12-15  9:58 ` [Bug libgcj/19003] " pinskia at gcc dot gnu dot org
@ 2005-01-15  6:05 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-15  6:05 UTC (permalink / raw)
  To: java-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libgcj/19003] Potential problems in libjava system calls with gc-boehm
       [not found] <bug-19003-8172@http.gcc.gnu.org/bugzilla/>
@ 2012-01-11 12:44 ` rguenth at gcc dot gnu.org
  0 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-01-11 12:44 UTC (permalink / raw)
  To: java-prs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-11 12:44:30 UTC ---
This is not the right forum for discussions.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-01-11 12:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-15  8:04 [Bug java/19003] New: Potential problems in libjava system calls with gc-boehm Stephane dot Epardaud at sophia dot inria dot fr
2004-12-15  9:58 ` [Bug libgcj/19003] " pinskia at gcc dot gnu dot org
2005-01-15  6:05 ` pinskia at gcc dot gnu dot org
     [not found] <bug-19003-8172@http.gcc.gnu.org/bugzilla/>
2012-01-11 12:44 ` rguenth at gcc dot gnu.org

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).