Announcement

Collapse
No announcement yet.

GNOME 3.28.2 Released With GJS Garbage Collection Fix To Address The Big Memory Leak

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #11
    Originally posted by justmy2cents View Post

    if it really works like that, then this one terrible, terrible fix. more like trading one problem for another one with different effects while being just as bad as the original one. one would really hope there is some mistake in your interpretation of the fix
    Yes. the description is not correct. Read

    https://feaneron.com/2018/04/20/the-...l-memory-leak/

    "The garbage collector is scheduled every time a GObject wrapped in GJS has its toggle reference gone from >1 to 1. And scheduled here means that a GC is injected into the mainloop as an idle callback, that will be executed when there’s nothing else to be executed in the mainloop. The absolute majority of the time, it means that only one GC will happen, even if hundreds of GObjects are disposed."


    Comment


    • #12
      Originally posted by RahulSundaram View Post
      Yes. the description is not correct. Rea.d

      https://feaneron.com/2018/04/20/the-...l-memory-leak/

      "The garbage collector is scheduled every time a GObject wrapped in GJS has its toggle reference gone from >1 to 1. And scheduled here means that a GC is injected into the mainloop as an idle callback, that will be executed when there’s nothing else to be executed in the mainloop. The absolute majority of the time, it means that only one GC will happen, even if hundreds of GObjects are disposed."
      thanks for clarification and link. that makes much more sense

      Comment

      Working...
      X