Bug 1442 - rewrite frysk.sys.proc.Stat using CNI
Summary: rewrite frysk.sys.proc.Stat using CNI
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P1 normal
Target Milestone: ---
Assignee: Andrew Cagney
URL:
Keywords:
Depends on:
Blocks: 1593
  Show dependency treegraph
 
Reported: 2005-10-09 00:28 UTC by Andrew Cagney
Modified: 2005-10-29 15:12 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cagney 2005-10-09 00:28:58 UTC
Should reduce the pressure on the garbage collector.
Comment 1 Andrew Cagney 2005-10-09 14:06:50 UTC
2005-10-09  Andrew Cagney  <cagney@redhat.com>

        * Makefile.am: Add frysk-imports to class and link paths.

2005-10-09  Andrew Cagney  <cagney@redhat.com>

        * cni/Errno.cxx, cni/Errno.hxx: Add throwErrno methods that take a
        suffix, and a suffix and val.  Rename throwException to
        throwRuntimeException.
        * cni/Fork.cxx, cni/Ptrace.cxx, cni/Signal.cxx, cni/Wait.cxx: Use.

2005-10-08  Andrew Cagney  <cagney@redhat.com>

        * cni/Stat.cxx, package.html, Stat.java: New files.

2005-10-09  Andrew Cagney  <cagney@redhat.com>

        * Makefile.am: Re-order GEN_CLASSPATH and GEN_GCJ_LDADD so that
        frysk-imports comes after frysk-sys.

2005-10-09  Andrew Cagney  <cagney@redhat.com>

        * LinuxHost.java, LinuxProc.java: Use frysk.sys.proc.Stat.  Better
        handle a lost /proc/PID/stat file.

--

One result of this change is that testRefreshZombie(frysk.proc.TestRefresh),
which appears to suffer from  a race condition with /proc (sometimes the zombie
still has a thread), fails more often.