Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
GHC
GHC
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,262
    • Issues 4,262
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 419
    • Merge Requests 419
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #7127

Closed
Open
Opened Aug 08, 2012 by Simon Marlow@simonmarDeveloper

RTS timer gets turned off when using +RTS -I0

This bug was reported to me by hvr on IRC. I fixed it in GHC yesterday, but we still need a test, and we could potentially merge this to the 7.4 and 7.6 branches:

commit 396f0903

Author: Simon Marlow <marlowsd@gmail.com>
Date:   Tue Aug 7 14:44:46 2012 +0100

    Fix a bug in the handling of recent_activity
    
    The problem occurred when the idle GC was turned off with +RTS -I0.
    Then the scheduler would go into the state ACTIVITY_DONE_GC directly
    without doing a GC, and a subsequent GC would put it back to
    ACTIVITY_YES but without turning the timer back on.  Instead if the GC
    finds the state is ACTIVITY_DONE_GC it should leave it there.
Trac metadata
Trac field Value
Version 7.4.2
Type Bug
TypeOfFailure OtherFailure
Priority high
Resolution Unresolved
Component Runtime System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
Assignee
Assign to
7.6.1
Milestone
7.6.1
Assign milestone
Time tracking
None
Due date
None
Reference: ghc/ghc#7127