public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/4827] New: Merge MemorySpaceByteBuffer and AddressSpaceByteBuffer
@ 2007-07-23  9:59 mark at klomp dot org
  2007-08-02 11:26 ` [Bug general/4827] " mark at klomp dot org
  2007-08-02 11:26 ` mark at klomp dot org
  0 siblings, 2 replies; 3+ messages in thread
From: mark at klomp dot org @ 2007-07-23  9:59 UTC (permalink / raw)
  To: frysk-bugzilla

frysk-core should use one method of accessing memory spaces.
MemorySpaceByteBuffer is really just an optimization of AddressSpaceByteBuffer
(in the case of AddressSpace.TEXT/DATA) and all code should go through the
optimized path (StateLessFile) for accessing memory if the AddressSpace allows
it. So I am going to merge the two (and fix up the places that currently use the
slow path).
LogicalMemoryByteBuffer should be implemented on top of this.

-- 
           Summary: Merge MemorySpaceByteBuffer and AddressSpaceByteBuffer
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: mark at klomp dot org
 BugsThisDependsOn: 4760


http://sourceware.org/bugzilla/show_bug.cgi?id=4827

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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

* [Bug general/4827] Merge MemorySpaceByteBuffer and AddressSpaceByteBuffer
  2007-07-23  9:59 [Bug general/4827] New: Merge MemorySpaceByteBuffer and AddressSpaceByteBuffer mark at klomp dot org
  2007-08-02 11:26 ` [Bug general/4827] " mark at klomp dot org
@ 2007-08-02 11:26 ` mark at klomp dot org
  1 sibling, 0 replies; 3+ messages in thread
From: mark at klomp dot org @ 2007-08-02 11:26 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From mark at klomp dot org  2007-08-02 11:26 -------
2007-08-02  Mark Wielaard  <mwielaard@redhat.com>

    * AddressSpaceByteBuffer.java (mem): New field.
    (pokesRequest): Likewise.
    (AddressSpaceByteBuffer): Initialize mem and pokesRequest.
    (PeeksRequest.peek): New method.
    (PeeksRequest.execute): use peek().
    (PeeksRequest.request): Likewise.
    (PokesRequest): New inner class.
    (poke): New method.
    * LinuxTask.java (getRawMemory): Use AddressSpaceByteBuffer.
    * LogicalMemoryBuffer.java (poke): New methods marked as
    unsupported.
    * MemorySpaceByteBuffer.java: Removed.
    * RegisterSetByteBuffer.java (peek): Use System.arraycopy().
    (poke): New method.
    * TestMemorySpaceByteBuffer.java: Removed.
    * TestByteBuffer.java: Merged in TestMemorySpaceByteBuffer tests,
    made test more generic to test all possible buffers, add bulk put
    tests.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=4827

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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

* [Bug general/4827] Merge MemorySpaceByteBuffer and AddressSpaceByteBuffer
  2007-07-23  9:59 [Bug general/4827] New: Merge MemorySpaceByteBuffer and AddressSpaceByteBuffer mark at klomp dot org
@ 2007-08-02 11:26 ` mark at klomp dot org
  2007-08-02 11:26 ` mark at klomp dot org
  1 sibling, 0 replies; 3+ messages in thread
From: mark at klomp dot org @ 2007-08-02 11:26 UTC (permalink / raw)
  To: frysk-bugzilla



-- 
Bug 4827 depends on bug 4760, which changed state.

Bug 4760 Summary: ByteBuffer and subclasses should have efficient bulk put() methods
http://sourceware.org/bugzilla/show_bug.cgi?id=4760

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

http://sourceware.org/bugzilla/show_bug.cgi?id=4827

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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

end of thread, other threads:[~2007-08-02 11:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-23  9:59 [Bug general/4827] New: Merge MemorySpaceByteBuffer and AddressSpaceByteBuffer mark at klomp dot org
2007-08-02 11:26 ` [Bug general/4827] " mark at klomp dot org
2007-08-02 11:26 ` mark at klomp dot 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).