[D-runtime] [D-Programming-Language/druntime] 7a0703: make ModuleInfo immutable

GitHub via D-runtime d-runtime at puremagic.com
Fri May 16 14:51:30 PDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/druntime
  Commit: 7a07035a5481871391fe9fb542d7e5ef68f07b84
      https://github.com/D-Programming-Language/druntime/commit/7a07035a5481871391fe9fb542d7e5ef68f07b84
  Author: Martin Nowak <code at dawg.eu>
  Date:   2014-05-16 (Fri, 16 May 2014)

  Changed paths:
    M src/core/exception.d
    M src/object.di
    M src/object_.d
    M src/rt/minfo.d
    M src/rt/sections.d
    M src/rt/sections_android.d
    M src/rt/sections_freebsd.d
    M src/rt/sections_linux.d
    M src/rt/sections_osx.d
    M src/rt/sections_win32.d
    M src/rt/sections_win64.d
    M src/test_runner.d

  Log Message:
  -----------
  make ModuleInfo immutable

- allows to put them into read-only segment and
  avoid some copy relocations

- use allocated bit vector for module sorting

- also mark all ModuleInfo methods and members as const


  Commit: 1e6c3bdb633e3d8ff817f266e9cb20376dcf4994
      https://github.com/D-Programming-Language/druntime/commit/1e6c3bdb633e3d8ff817f266e9cb20376dcf4994
  Author: Walter Bright <walter at walterbright.com>
  Date:   2014-05-16 (Fri, 16 May 2014)

  Changed paths:
    M src/core/exception.d
    M src/object.di
    M src/object_.d
    M src/rt/minfo.d
    M src/rt/sections.d
    M src/rt/sections_android.d
    M src/rt/sections_freebsd.d
    M src/rt/sections_linux.d
    M src/rt/sections_osx.d
    M src/rt/sections_win32.d
    M src/rt/sections_win64.d
    M src/test_runner.d

  Log Message:
  -----------
  Merge pull request #790 from MartinNowak/immutableModuleInfo

make ModuleInfo immutable


Compare: https://github.com/D-Programming-Language/druntime/compare/dc428129ab8c...1e6c3bdb633e


More information about the D-runtime mailing list