{"action":"created","issue":{"url":"https://api.github.com/repos/scala/bug/issues/11249","repository_url":"https://api.github.com/repos/scala/bug","labels_url":"https://api.github.com/repos/scala/bug/issues/11249/labels{/name}","comments_url":"https://api.github.com/repos/scala/bug/issues/11249/comments","events_url":"https://api.github.com/repos/scala/bug/issues/11249/events","html_url":"https://github.com/scala/bug/issues/11249","id":379788088,"node_id":"MDU6SXNzdWUzNzk3ODgwODg=","number":11249,"title":"Compiler gets stuck in GC while SubstSym","user":{"login":"lrytz","id":119636,"node_id":"MDQ6VXNlcjExOTYzNg==","avatar_url":"https://avatars1.githubusercontent.com/u/119636?v=4","gravatar_id":"","url":"https://api.github.com/users/lrytz","html_url":"https://github.com/lrytz","followers_url":"https://api.github.com/users/lrytz/followers","following_url":"https://api.github.com/users/lrytz/following{/other_user}","gists_url":"https://api.github.com/users/lrytz/gists{/gist_id}","starred_url":"https://api.github.com/users/lrytz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lrytz/subscriptions","organizations_url":"https://api.github.com/users/lrytz/orgs","repos_url":"https://api.github.com/users/lrytz/repos","events_url":"https://api.github.com/users/lrytz/events{/privacy}","received_events_url":"https://api.github.com/users/lrytz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-12T13:57:25Z","updated_at":"2018-11-13T02:10:59Z","closed_at":null,"author_association":"MEMBER","body":"Discovered while looking at https://github.com/scala/scala/pull/7355\r\n\r\nCheck out this branch: https://github.com/lrytz/scala/tree/pr7355-stuck (this was the tip of https://github.com/scala/scala/pull/7355 at some point), run `sbt dist/mkQuick`\r\n\r\nGet `Test.scala` from here https://gist.github.com/lrytz/83067340d568c999091fc9ae67bfb72b\r\n\r\nRun the quick compiler with `export JAVA_OPTS=\"-Xmx1024m\"`\r\n\r\nCompiling the same test file with current 2.13.x works, so the changes to the library made in the PR seem to be necessary to expose the compiler bug.\r\n\r\nProfiler screenshot:\r\n![image](https://user-images.githubusercontent.com/119636/48351634-0562be00-e68b-11e8-8983-1da68ba4e711.png)\r\n"},"comment":{"url":"https://api.github.com/repos/scala/bug/issues/comments/438103177","html_url":"https://github.com/scala/bug/issues/11249#issuecomment-438103177","issue_url":"https://api.github.com/repos/scala/bug/issues/11249","id":438103177,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODEwMzE3Nw==","user":{"login":"retronym","id":65551,"node_id":"MDQ6VXNlcjY1NTUx","avatar_url":"https://avatars0.githubusercontent.com/u/65551?v=4","gravatar_id":"","url":"https://api.github.com/users/retronym","html_url":"https://github.com/retronym","followers_url":"https://api.github.com/users/retronym/followers","following_url":"https://api.github.com/users/retronym/following{/other_user}","gists_url":"https://api.github.com/users/retronym/gists{/gist_id}","starred_url":"https://api.github.com/users/retronym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retronym/subscriptions","organizations_url":"https://api.github.com/users/retronym/orgs","repos_url":"https://api.github.com/users/retronym/repos","events_url":"https://api.github.com/users/retronym/events{/privacy}","received_events_url":"https://api.github.com/users/retronym/received_events","type":"User","site_admin":false},"created_at":"2018-11-13T02:10:59Z","updated_at":"2018-11-13T02:10:59Z","author_association":"MEMBER","body":"```\r\nscala> import scala.collection._; List(LazyList, Vector).head.fill(0)(\"\")\r\nwarning: -nc is deprecated: scripts use cold compilation by default; use -Yscriptrunner for custom behavior\r\n[GC (Allocation Failure) [PSYoungGen: 43451K->7156K(45056K)] 64839K->30328K(92672K), 0.0071199 secs] [Times: user=0.05 sys=0.00, real=0.01 secs]\r\n[GC (Allocation Failure) [PSYoungGen: 45044K->8700K(49664K)] 68216K->41447K(97280K), 0.0155547 secs] [Times: user=0.08 sys=0.01, real=0.02 secs]\r\n[GC (Allocation Failure) [PSYoungGen: 49660K->13303K(54272K)] 82407K->55138K(101888K), 0.0157232 secs] [Times: user=0.07 sys=0.01, real=0.01 secs]\r\n[Full GC (Ergonomics) [PSYoungGen: 13303K->0K(54272K)] [ParOldGen: 41834K->37092K(72704K)] 55138K->37092K(126976K), [Metaspace: 42035K->42035K(1091584K)], 0.1728355 secs] [Times: user=0.94 sys=0.01, real=0.17 secs]\r\n[GC (Allocation Failure) [PSYoungGen: 40960K->5408K(69120K)] 78052K->42500K(141824K), 0.0082882 secs] [Times: user=0.04 sys=0.01, real=0.01 secs]\r\n[GC (Allocation Failure) [PSYoungGen: 55584K->7392K(57856K)] 92676K->44484K(130560K), 0.0099100 secs] [Times: user=0.05 sys=0.00, real=0.01 secs]\r\n[GC (Allocation Failure) [PSYoungGen: 57568K->8320K(67584K)] 94660K->45412K(140288K), 0.0114738 secs] [Times: user=0.06 sys=0.00, real=0.01 secs]\r\n[GC (Allocation Failure) [PSYoungGen: 59008K->7296K(67072K)] 96100K->46532K(139776K), 0.0117115 secs] [Times: user=0.05 sys=0.00, real=0.01 secs]\r\n[GC (Allocation Failure) [PSYoungGen: 57984K->5728K(70144K)] 97220K->48140K(142848K), 0.0107276 secs] [Times: user=0.06 sys=0.00, real=0.01 secs]\r\n[GC (Allocation Failure) [PSYoungGen: 60000K->7552K(69632K)] 102412K->53324K(142336K), 0.0108619 secs] [Times: user=0.06 sys=0.00, real=0.01 secs]\r\n[GC (Allocation Failure) [PSYoungGen: 61824K->4544K(70144K)] 107596K->57276K(142848K), 0.0103596 secs] [Times: user=0.06 sys=0.01, real=0.01 secs]\r\n[GC (Allocation Failure) [PSYoungGen: 60352K->6848K(70144K)] 113084K->61572K(142848K), 0.0162360 secs] [Times: user=0.07 sys=0.00, real=0.01 secs]\r\n[GC (Allocation Failure) [PSYoungGen: 62656K->6496K(72192K)] 117380K->65644K(144896K), 0.0148061 secs] [Times: user=0.07 sys=0.01, real=0.02 secs]\r\n[GC (Allocation Failure) [PSYoungGen: 65376K->4448K(72192K)] 124524K->67612K(144896K), 0.0167044 secs] [Times: user=0.07 sys=0.00, real=0.02 secs]\r\n[GC (Allocation Failure) [PSYoungGen: 63328K->4992K(73216K)] 126492K->69764K(145920K), 0.0123454 secs] [Times: user=0.06 sys=0.00, real=0.01 secs]\r\n[Full GC (Ergonomics) [PSYoungGen: 4992K->0K(73216K)] [ParOldGen: 64772K->59232K(98816K)] 69764K->59232K(172032K), [Metaspace: 42035K->42035K(1091584K)], 0.1052601 secs] [Times: user=0.57 sys=0.01, real=0.11 secs]\r\n[GC (Allocation Failure) [PSYoungGen: 60416K->8064K(73216K)] 119648K->67296K(172032K), 0.0128622 secs] [Times: user=0.06 sys=0.00, real=0.01 secs]\r\n[GC (Allocation Failure) [PSYoungGen: 68480K->7424K(73216K)] 127712K->72208K(172032K), 0.0145041 secs] [Times: user=0.08 sys=0.00, real=0.01 secs]\r\n[GC (Allocation Failure) [PSYoungGen: 68864K->8096K(73728K)] 133648K->77720K(172544K), 0.0133379 secs] [Times: user=0.07 sys=0.00, real=0.01 secs]\r\n[GC (Allocation Failure) [PSYoungGen: 69536K->8064K(74752K)] 139160K->83208K(173568K), 0.0136470 secs] [Times: user=0.07 sys=0.01, real=0.02 secs]\r\n[GC (Allocation Failure) [PSYoungGen: 70528K->7840K(70656K)] 145672K->88504K(169472K), 0.0144605 secs] [Times: user=0.08 sys=0.00, real=0.02 secs]\r\n[GC (Allocation Failure) [PSYoungGen: 70304K->10112K(73216K)] 150968K->95896K(172032K), 0.0139785 secs] [Times: user=0.07 sys=0.00, real=0.01 secs]\r\n[GC (Allocation Failure) [PSYoungGen: 71552K->6848K(74240K)] 157336K->102304K(173056K), 0.0164320 secs] [Times: user=0.07 sys=0.01, real=0.02 secs]\r\n[Full GC (Ergonomics) [PSYoungGen: 6848K->0K(74240K)] [ParOldGen: 95456K->93526K(141312K)] 102304K->93526K(215552K), [Metaspace: 42035K->42035K(1091584K)], 0.1556105 secs] [Times: user=0.93 sys=0.00, real=0.15 secs]\r\n[GC (Allocation Failure) [PSYoungGen: 61440K->4608K(73728K)] 154966K->98134K(215040K), 0.0130463 secs] [Times: user=0.07 sys=0.00, real=0.02 secs]\r\n[GC (Allocation Failure) [PSYoungGen: 66560K->5344K(74240K)] 160086K->100558K(215552K), 0.0137743 secs] [Times: user=0.07 sys=0.00, real=0.01 secs]\r\n```"}}
{"actor":{"display_login":"retronym"}}