Peter Zhu 544770d566 [ruby/mmtk] Process obj_free candidates in parallel
This commit allows objects that are safe to be freed in parallel to do so.
A decrease in object freeing time can be seen in profiles.

The benchmarks don't show much difference.

Before:

--------------  --------------------  ----------  ---------
bench           sequential free (ms)  stddev (%)  RSS (MiB)
activerecord    242.3                 7.4         84.3
chunky-png      439.1                 0.6         75.6
erubi-rails     1221.2                4.2         132.7
hexapdf         1544.8                1.8         429.1
liquid-c        42.7                  7.4         48.5
liquid-compile  41.4                  8.3         52.2
liquid-render   100.6                 3.0         56.8
mail            108.9                 2.1         65.1
psych-load      1536.9                0.6         43.4
railsbench      1633.5                2.6         146.2
rubocop         126.5                 15.8        142.1
ruby-lsp        129.6                 9.7         112.2
sequel          47.9                  6.5         44.6
shipit          1152.0                2.7         315.2
--------------  --------------------  ----------  ---------

After:

--------------  ------------------  ----------  ---------
bench           parallel free (ms)  stddev (%)  RSS (MiB)
activerecord    235.1               5.5         87.4
chunky-png      440.8               0.8         68.1
erubi-rails     1105.3              0.8         128.0
hexapdf         1578.3              4.1         405.1
liquid-c        42.6                7.1         48.4
liquid-compile  41.5                8.1         52.1
liquid-render   101.2               2.8         53.3
mail            109.7               2.7         64.8
psych-load      1567.7              1.1         44.4
railsbench      1644.9              1.9         150.9
rubocop         125.6               15.4        148.5
ruby-lsp        127.9               5.8         104.6
sequel          48.2                6.1         44.1
shipit          1215.3              4.7         320.5
--------------  ------------------  ----------  ---------

https://github.com/ruby/mmtk/commit/4f0b5fd2eb
2025-12-31 14:22:38 +00:00
2025-12-31 02:24:03 +09:00
2025-12-02 08:56:21 +09:00
2025-12-31 12:44:18 +00:00
2025-12-29 09:03:31 -05:00
2025-12-29 14:14:00 +00:00
2025-12-29 14:14:00 +00:00
2025-12-30 16:02:39 +01:00
2025-12-31 02:24:21 +09:00
2025-12-26 15:11:23 +09:00
2025-12-18 16:12:47 +00:00
2025-12-19 17:09:10 -05:00
2025-12-10 12:09:50 +09:00
2025-12-09 22:48:06 -08:00
2025-12-28 08:55:38 -05:00
2025-12-25 09:18:17 -05:00
2025-12-10 10:23:37 +09:00
2025-12-12 14:03:37 -08:00
2025-12-21 14:05:55 -05:00
2025-12-09 16:45:38 +09:00
2025-11-10 19:12:35 +09:00
GPL
2025-12-29 09:03:31 -05:00
2025-12-29 09:03:31 -05:00
2025-12-24 11:14:29 +09:00
2025-10-30 21:47:12 +09:00
2025-12-10 12:09:50 +09:00
2025-12-19 21:36:46 -05:00
2025-12-15 17:28:35 -05:00
2025-12-21 14:05:38 -05:00
2025-12-29 17:21:33 +09:00
2025-12-18 15:59:49 -08:00
2025-12-22 09:12:33 -05:00
2025-10-31 20:49:59 +09:00
2025-10-31 20:49:59 +09:00
2025-10-31 20:49:59 +09:00
2025-12-19 21:38:12 -05:00
2025-12-29 09:03:31 -05:00
2025-12-05 15:40:39 -08:00
2025-12-10 10:23:37 +09:00
2025-12-18 13:43:45 -08:00
2025-12-28 08:55:38 -05:00

Actions Status: MinGW Actions Status: Ubuntu Actions Status: Windows Travis Status

日本語

What is Ruby?

Ruby is an interpreted object-oriented programming language often used for web development. It also offers many scripting features to process plain text and serialized files, or manage system tasks. It is simple, straightforward, and extensible.

Features of Ruby

  • Simple Syntax
  • Normal Object-oriented Features (e.g. class, method calls)
  • Advanced Object-oriented Features (e.g. mix-in, singleton-method)
  • Operator Overloading
  • Exception Handling
  • Iterators and Closures
  • Garbage Collection
  • Dynamic Loading of Object Files (on some architectures)
  • Highly Portable (works on many Unix-like/POSIX compatible platforms as well as Windows, macOS, etc.) cf. https://docs.ruby-lang.org/en/master/maintainers_md.html#label-Platform+Maintainers

How to get Ruby

For a complete list of ways to install Ruby, including using third-party tools like rvm, see:

https://www.ruby-lang.org/en/downloads/

You can download release packages and the snapshot of the repository. If you want to download whole versions of Ruby, please visit https://www.ruby-lang.org/en/downloads/releases/.

Download with Git

The mirror of the Ruby source tree can be checked out with the following command:

$ git clone https://github.com/ruby/ruby.git

There are some other branches under development. Try the following command to see the list of branches:

$ git ls-remote https://github.com/ruby/ruby.git

You may also want to use https://git.ruby-lang.org/ruby.git (actual master of Ruby source) if you are a committer.

How to build

See Building Ruby

Ruby home page

https://www.ruby-lang.org/

Documentation

Mailing list

There is a mailing list to discuss Ruby. To subscribe to this list, please send the following phrase:

join

in the mail subject (not body) to the address ruby-talk-request@ml.ruby-lang.org.

Copying

See the file COPYING.

Feedback

Questions about the Ruby language can be asked on the Ruby-Talk mailing list or on websites like https://stackoverflow.com.

Bugs should be reported at https://bugs.ruby-lang.org. Read "Reporting Issues" for more information.

Contributing

See "Contributing to Ruby", which includes setup and build instructions.

The Author

Ruby was originally designed and developed by Yukihiro Matsumoto (Matz) in 1995.

matz@ruby-lang.org

Description
Languages
Ruby 58.9%
C 29.5%
Rust 6.1%
C++ 2.9%
Yacc 0.9%
Other 1.6%