Project

General

Profile

Bug #5467

ENABLE_VM_OBJSPACE on Windows

Added by usa (Usaku NAKAMURA) almost 8 years ago. Updated 4 days ago.

Status:
Closed
Priority:
Normal
Target version:
-
ruby -v:
ruby 2.0.0dev (2011-10-20 trunk 33495) [x64-mswin64_100]
Backport:
[ruby-dev:44648]

Description

r25000 で導入されたENABLE_VM_OBJSPACEとかいうマクロですが、r25008 での
変更によると、Windowsではobject space initializationの前にst_tableを必
要とするのでこのマクロを1にセットできないそうです。

なので、r33496 で問題のst_tableの確保をobject space initializationの後
まで遅延するようにしました。(厳密には、socketを使わない限り確保しない
ようにしています)

にも関わらず、WindowsでENABLE_VM_OBJSPACEを1にするとtest-allでrubyが落
ちまくります。

(1) r25008 の変更時に書かれたコメントの説明は間違ってるわけなので、変更
を望みます。
(2) ENABLE_VM_OBJSPACEを1にしない限り必ず失敗するテストがtest/ruby/test_gc.rb
の中にあるので(test_gc_parameter)、なんらかの対応を望みます。

Associated revisions

Revision fd807aa2
Added by nobu (Nobuyoshi Nakada) almost 8 years ago

  • gc.c (rb_gc_set_params): set parameters always. [ruby-dev:44648] [Bug #5467]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 33500
Added by nobu (Nobuyoshi Nakada) almost 8 years ago

  • gc.c (rb_gc_set_params): set parameters always. [ruby-dev:44648] [Bug #5467]

Revision 33500
Added by nobu (Nobuyoshi Nakada) almost 8 years ago

  • gc.c (rb_gc_set_params): set parameters always. [ruby-dev:44648] [Bug #5467]

Revision 33500
Added by nobu (Nobuyoshi Nakada) almost 8 years ago

  • gc.c (rb_gc_set_params): set parameters always. [ruby-dev:44648] [Bug #5467]

Revision 33500
Added by nobu (Nobuyoshi Nakada) almost 8 years ago

  • gc.c (rb_gc_set_params): set parameters always. [ruby-dev:44648] [Bug #5467]

Revision 33500
Added by nobu (Nobuyoshi Nakada) almost 8 years ago

  • gc.c (rb_gc_set_params): set parameters always. [ruby-dev:44648] [Bug #5467]

Revision 33500
Added by nobu (Nobuyoshi Nakada) almost 8 years ago

  • gc.c (rb_gc_set_params): set parameters always. [ruby-dev:44648] [Bug #5467]

Revision aa815c58
Added by usa (Usaku NAKAMURA) over 7 years ago

merge revision(s) 33500,33501:

  • gc.c (rb_gc_set_params): set parameters always.
    [ruby-dev:44648] [Bug #5467]

  • gc.c (initial_params): pack in a struct.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

History

#1

Updated by naruse (Yui NARUSE) almost 8 years ago

  • Project changed from CommonRuby to Ruby master
  • Target version deleted (2.6)
#2

Updated by jeremyevans0 (Jeremy Evans) 4 days ago

  • Status changed from Assigned to Closed

Also available in: Atom PDF