[GHC] #7674: Separate StablePtr table from StableName table.

GHC cvs-ghc at haskell.org
Thu Feb 14 13:34:13 CET 2013


#7674: Separate StablePtr table from StableName table.
-------------------------------+--------------------------------------------
  Reporter:  EyalLotem         |          Owner:                                        
      Type:  task              |         Status:  patch                                 
  Priority:  normal            |      Milestone:                                        
 Component:  Runtime System    |        Version:  7.6.2                                 
Resolution:                    |       Keywords:  rts stable_ptr stable_name performance
        Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple                      
   Failure:  None/Unknown      |     Difficulty:  Unknown                               
  Testcase:                    |      Blockedby:                                        
  Blocking:                    |        Related:                                        
-------------------------------+--------------------------------------------

Comment(by marlowsd@…):

 commit 7e7a4e4d7e9e84b2c57d3d55e372e738b5f8dbf5
 {{{
 Author: Simon Marlow <marlowsd at gmail.com>
 Date:   Thu Feb 14 08:46:55 2013 +0000

     Separate StablePtr and StableName tables (#7674)

     To improve performance of StablePtr.

  includes/HsFFI.h                         |    4 +
  includes/rts/Stable.h                    |   17 +-
  includes/stg/MiscClosures.h              |    2 +-
  rts/Hash.c                               |    5 +
  rts/Hash.h                               |    5 +-
  rts/HsFFI.c                              |   18 ++
  rts/Linker.c                             |    8 +-
  rts/PrimOps.cmm                          |   22 +-
  rts/RetainerProfile.c                    |    2 +-
  rts/RtsStartup.c                         |    4 +-
  rts/Stable.c                             |  460
 +++++++++++++++++-------------
  rts/Stable.h                             |   29 ++-
  rts/sm/Compact.c                         |    2 +-
  rts/sm/GC.c                              |   12 +-
  utils/deriveConstants/DeriveConstants.hs |    3 +
  15 files changed, 355 insertions(+), 238 deletions(-)
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7674#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list