[D-runtime] [D-Programming-Language/druntime] 8cd339: Inherit loaded libs before initializing GC for TLS

GitHub via D-runtime d-runtime at puremagic.com
Thu Mar 10 07:11:11 PST 2016


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/druntime
  Commit: 8cd339df2d5f43f41feb3ad15bf7859b7b341034
      https://github.com/D-Programming-Language/druntime/commit/8cd339df2d5f43f41feb3ad15bf7859b7b341034
  Author: Puneet Goel <puneet at coverify.com>
  Date:   2016-03-10 (Thu, 10 Mar 2016)

  Changed paths:
    M src/core/thread.d

  Log Message:
  -----------
  Inherit loaded libs before initializing GC for TLS

Otherwise the TLS for libraries loaded by the parent thread is not
marked by GC.


  Commit: cffba481dd7fbbf46944db0095728695376ccd27
      https://github.com/D-Programming-Language/druntime/commit/cffba481dd7fbbf46944db0095728695376ccd27
  Author: Puneet Goel <puneet at coverify.com>
  Date:   2016-03-10 (Thu, 10 Mar 2016)

  Changed paths:
    M src/rt/sections_elf_shared.d

  Log Message:
  -----------
  For shared libs, Update TLS Range for new threads

__tls_get_addr allocates TLS space per thread. When a new thread is
spawned, a call to the function is required to update the TLS records
that are used by the GC. The was not happening for the Shared version.


  Commit: bbd797aac223cf734cfd822f64db7450999ec66e
      https://github.com/D-Programming-Language/druntime/commit/bbd797aac223cf734cfd822f64db7450999ec66e
  Author: Andrei Alexandrescu <andrei at erdani.com>
  Date:   2016-03-10 (Thu, 10 Mar 2016)

  Changed paths:
    M src/core/thread.d
    M src/rt/sections_elf_shared.d

  Log Message:
  -----------
  Merge pull request #1507 from puneet/fix15513

Fix15513 (revised)


Compare: https://github.com/D-Programming-Language/druntime/compare/236c43b2ea4f...bbd797aac223


More information about the D-runtime mailing list