aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* test_filehandler.rb: reap zombienobu2013-06-211-1/+1
| | | | | | | * test/webrick/test_filehandler.rb (test_short_filename): use backtick to reap zombie, instead of leaving opened stream after reading. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: enable lazy sweep (commit miss).ko12013-06-212-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert last commit (operation miss).ko12013-06-211-17/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: fix to use total_allocated_object_num and heaps_usedko12013-06-211-6/+17
| | | | | | | | at the GC time for profiler. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: refine error messagenobu2013-06-212-9/+11
| | | | | | | * hash.c (ruby_setenv): refine error message so include the variable name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_env.rb: fix testnobu2013-06-211-2/+8
| | | | | | | * test/ruby/test_env.rb (test_win32_blocksize): fix remained size, and delete added envvars. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: fix to use total_allocated_object_num and heaps_usedko12013-06-212-3/+12
| | | | | | | | at the GC time for profiler. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: RGENGC_CHECK_MODE should be 0.ko12013-06-212-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_marks_body): fix to get `th' in this function.ko12013-06-212-11/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (heaps_header/heaps_slot): embed bitmaps into heaps_slot.ko12013-06-212-98/+58
| | | | | | | | no need to maintain allocation/free bitmaps. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Makefile.sub: timestampnobu2013-06-211-1/+1
| | | | | | * win32/Makefile.sub (CONFIG_H): touch timestamp target file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (slot_sweep_body): add counters at a time.ko12013-06-212-18/+18
| | | | | | | | * gc.c (gc_profile_dump_on): fix line break position. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: refactoring bitmaps. introduce bits_t type and some Consts.tarui2013-06-202-69/+80
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: fix to support USE_RGENGC == 0 (disable RGenGC).ko12013-06-202-6/+28
| | | | | | | | If USE_RGENGC==0, it caused compilation error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (lazy_sweep): Use is_lazy_sweeping()tarui2013-06-202-4/+11
| | | | | | | | * gc.c (rest_sweep): Ditto. * gc.c (gc_prepare_free_objects): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.nobu2013-06-201-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typokazu2013-06-201-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_profile_record::oldgen_objects): added.ko12013-06-202-4/+40
| | | | | | | | | | | | | | * gc.c (gc_profile_dump_on): print the following infomation: * Living object counts * Free object counts If RGENGC_PROFILE > 0 then * Oldgen object counts * Remembered normal object counts * Remembered shady object counts git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_client.rb: load opensslnobu2013-06-201-0/+4
| | | | | | | * test/xmlrpc/test_client.rb: try loading openssl to fix autoloading constant. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_ull2big): Refactored.akr2013-06-202-11/+16
| | | | | | | | (rb_uint2big): Useless code removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_prof_sweep_timer_stop): accumulate sweep time only whenko12013-06-202-2/+11
| | | | | | | | record->gc_time > 0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-06-21svn2013-06-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal: Workaround fix for bigdecimal test failures causedakr2013-06-203-16/+42
| | | | | | | | | | | | | | | | | | | | by [ruby-dev:47413] [Feature #8509] * ext/bigdecimal/bigdecimal.h (BDIGIT): Make it independent from the definition for bignum.c. (SIZEOF_BDIGITS): Ditto. (BDIGIT_DBL): Ditto. (BDIGIT_DBL_SIGNED): Ditto. (PRI_BDIGIT_PREFIX): Undefine the definition. (PRI_BDIGIT_DBL_PREFIX): Ditto. * ext/bigdecimal/bigdecimal.c (RBIGNUM_ZERO_P): Use rb_bigzero_p. (bigzero_p): Removed. (is_even): Use rb_big_pack. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (bigmul1_toom3): Don't call bignorm twice.akr2013-06-202-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (bignorm): Don't call bigtrunc if the result is a fixnum.akr2013-06-202-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_uint2big): Refactored.akr2013-06-202-11/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (dump_bignum): Use SIZEOF_BDIGITS.akr2013-06-202-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* An extra semicolon removed.akr2013-06-201-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (big2ulong): Change the return type to unsigned long.akr2013-06-202-15/+30
| | | | | | | | | | | | (rb_big2ulong_pack): Follow the above change. (rb_big2long): Ditto. (rb_big_lshift): Ditto. (rb_big_rshift): Ditto. (rb_big_aref): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (bary_unpack_internal): Return -2 when negative overflow.akr2013-06-203-30/+66
| | | | | | | | | (bary_unpack): Set the overflowed bit if an extra BDIGIT exists. (rb_integer_unpack): Set the overflowed bit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (rgengc_rememberset_mark): recordko12013-06-202-1/+38
| | | | | | | | | | | | (1) normal objects count in remember set (2) shady objects count in remember set each GC timing. * gc.c (gc_profile_record_get): enable to access above information and REMOVING_OBJECTS, EMPTY_OBJECTS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Remove an unnecessary mode comment.knu2013-06-201-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Set mode for GNU Makefile.knu2013-06-201-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * benchmark/gc/gcbench.rb: Do not use GC::Profiler::disable becauseko12013-06-202-3/+10
| | | | | | | | | | GC::Profiler::disable prohibit to access profiling data. It should be spec bug. Skip GC::Profiler::report if RUBY_VERSION < '2.0.0' git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_sdbm.rb: only if SDBMnobu2013-06-201-1/+1
| | | | | | * test/sdbm/test_sdbm.rb (TestSDBM): test only if SDBM is loadable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * benchmark/gc/gcbench.rb: stop GC::Profiler before output results.ko12013-06-202-0/+6
| | | | | | | | Generating GC::Profiler result under profiling causes infinite loop. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * benchmark/gc/gcbench.rb: don't use __dir__ to make compatibleko12013-06-202-1/+6
| | | | | | | | with ruby 1.9.3. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * benchmark/bm_app_aobench.rb: use attr_accessor/reader instead ofko12013-06-202-20/+9
| | | | | | | | defining methods. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.nobu2013-06-201-7/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typokazu2013-06-201-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.nobu2013-06-202-309/+309
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * benchmark/bm_app_aobench.rb: added.ko12013-06-203-0/+315
| | | | | | | | * benchmark/gc/aobench.rb: added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.nobu2013-06-201-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * benchmark/bm_so_binary_trees.rb: disable `puts' methodko12013-06-203-2/+15
| | | | | | | | | and change iteration parameter to increase execution time. * benchmark/gc/binarytree.rb: added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.nobu2013-06-201-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * benchmark/gc/pentomino.rb: added.ko12013-06-202-0/+6
| | | | | | | | Simply load pentomino puzzle in the benchmark/ directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.nobu2013-06-201-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.nobu2013-06-201-29/+29
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * benchmark/gc/redblack.rb: import red black tree benchmark fromko12013-06-203-0/+403
| | | | | | | | | | https://github.com/jruby/rubybench/blob/master/time/bench_red_black.rb * benchmark/gc/ring.rb: add a benchmark. This benchmark create many old objects. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.nobu2013-06-201-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e