Skip to content

Major compiler slowdown due to changes in .NET GC between .NET 7 preview2 and .NET 7 preview3 #13730

@vzarytovskii

Description

@vzarytovskii

Build.cmd -c Debug is getting stuck for some time (5+ minutes on my local machine) on generating tables:

          327 shift/reduce conflicts
          393 reduce/reduce conflicts
          consider setting precedences explicitly using %left %right and %nonassoc on terminals and/or setting explicit precedence on rules using %prec
  writing tables to log
          1881 states
          326 nonterminals
          205 terminals
          1087 productions
          #rows in action table: 1881

I've seen reports of this from other people, we should investigate. Can reproduce it roughly every other clean build.

Update 1:
Also, after terminating the build, and doing it again (without cleaning), it is stuck here for about 10 minutes already:

  FSharp.DependencyManager.Nuget -> C:\Users\vlza\code\fsharp\artifacts\bin\FSharp.DependencyManager.Nuget\Proto\netstandard2.0\FSharp.DependencyManager.Nuget.dll

Update 2: From the dump, it appears it spends a lot of time here:

C:\Users\vlza\code\fsharp\.dotnet\dotnet.exe  "C:\Users\vlza\code\fsharp\.dotnet\sdk\7.0.100-preview.7.22377.5\FSharp\fsc.dll" @"C:\Users\vlza\AppData\Local\Temp\tmp1a940496fb5f480798d2a8cccb94abe4.rsp"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-BuildEverything related to building F# compiler, tooling and VS extension.

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions