Re: [GHC] #5262: Compiling with -O makes some expressions too lazy and causes space leaks

2011-09-21 Thread GHC
#5262: Compiling with -O makes some expressions too lazy and causes space leaks
-+--
Reporter:  michal.palka  |Owner:
 
Type:  bug   |   Status:  new   
 
Priority:  normal|Milestone:  7.4.1 
 
   Component:  Compiler  |  Version:  7.1   
 
Keywords:  laziness, strictness, space leak  | Testcase:
 
   Blockedby:|   Difficulty:
 
  Os:  Unknown/Multiple  | Blocking:
 
Architecture:  Unknown/Multiple  |  Failure:  Incorrect 
result at runtime
-+--
Changes (by simonmar):

  * owner:  simonmar =


Comment:

 unassigning me, on second thoughts I'm not sure we want to change seq to
 use `seq#`.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5262#comment:4
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #5262: Compiling with -O makes some expressions too lazy and causes space leaks

2011-06-28 Thread GHC
#5262: Compiling with -O makes some expressions too lazy and causes space leaks
-+--
Reporter:  michal.palka  |Owner:  simonmar  
 
Type:  bug   |   Status:  new   
 
Priority:  normal|Milestone:  7.4.1 
 
   Component:  Compiler  |  Version:  7.1   
 
Keywords:  laziness, strictness, space leak  | Testcase:
 
   Blockedby:|   Difficulty:
 
  Os:  Unknown/Multiple  | Blocking:
 
Architecture:  Unknown/Multiple  |  Failure:  Incorrect 
result at runtime
-+--

Comment(by marlowsd@…):

 commit be5441799b7d94646dcd4bfea15407883537eaaa
 Author: Simon Marlow marlo...@gmail.com
 Date:   Mon Jun 27 16:45:15 2011 +0100

 Add two new primops:

   seq#   :: a - State# s - (# State# s, a #)
   spark# :: a - State# s - (# State# s, a #)

 seq# is a version of seq that can be used in a State#-passing
 context.  We will use it to implement Control.Exception.evaluate and
 thus fix #5129.  Also we have plans to use it to fix #5262.

 spark# is to seq# as par is to pseq.  That is, it creates a spark in a
 State#-passing context.  We will use spark# and seq# to implement rpar
 and rseq respectively in an improved implementation of the Eval monad.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5262#comment:3
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #5262: Compiling with -O makes some expressions too lazy and causes space leaks

2011-06-27 Thread GHC
#5262: Compiling with -O makes some expressions too lazy and causes space leaks
-+--
Reporter:  michal.palka  |Owner:  simonmar  
 
Type:  bug   |   Status:  new   
 
Priority:  normal|Milestone:  7.4.1 
 
   Component:  Compiler  |  Version:  7.1   
 
Keywords:  laziness, strictness, space leak  | Testcase:
 
   Blockedby:|   Difficulty:
 
  Os:  Unknown/Multiple  | Blocking:
 
Architecture:  Unknown/Multiple  |  Failure:  Incorrect 
result at runtime
-+--
Changes (by simonmar):

  * owner:  = simonmar
  * milestone:  = 7.4.1


Comment:

 I'm looking at #5129, and we think the same mechanism can be used to fix
 `seq`, so assigning this to me.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5262#comment:2
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #5262: Compiling with -O makes some expressions too lazy and causes space leaks

2011-06-16 Thread GHC
#5262: Compiling with -O makes some expressions too lazy and causes space leaks
-+--
Reporter:  michal.palka  |   Owner: 
 
Type:  bug   |  Status:  new
 
Priority:  normal|   Component:  Compiler   
 
 Version:  7.1   |Keywords:  laziness, strictness, space 
leak
Testcase:|   Blockedby: 
 
  Os:  Unknown/Multiple  |Blocking: 
 
Architecture:  Unknown/Multiple  | Failure:  Incorrect result at runtime
 
-+--
Changes (by michal.palka):

 * cc: michal.palka@… (added)


-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/5262#comment:1
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs