Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rubinius/rubinius
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 12b99029f781
Choose a base ref
...
head repository: rubinius/rubinius
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a9fa2255e413
Choose a head ref
  • 3 commits
  • 6 files changed
  • 1 contributor

Commits on Jul 9, 2015

  1. Default eden to 30mb.

    brixen committed Jul 9, 2015
    Copy the full SHA
    7939351 View commit details
  2. Calculate total memory diagnostics better.

    Approximately 20% of the process RSS is still not visible in the diagnostics
    and ~10% of that looks JIT related.
    brixen committed Jul 9, 2015
    Copy the full SHA
    8035c12 View commit details
  3. Removed left over Bert files.

    brixen committed Jul 9, 2015
    Copy the full SHA
    a9fa225 View commit details
Showing with 3 additions and 1,460 deletions.
  1. +1 −1 library/rubinius/configuration.rb
  2. +1 −3 vm/gc/immix.cpp
  3. +0 −3 vm/gc/immix.hpp
  4. +1 −1 vm/system_diagnostics.cpp
  5. +0 −224 vm/util/bert-test.cc
  6. +0 −1,228 vm/util/bert.hpp
2 changes: 1 addition & 1 deletion library/rubinius/configuration.rb
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
Rubinius::ConfigurationVariables.define do |c|

c.section "gc" do |s|
s.vm_variable "young_bytes", (40 * 1024 * 1024),
s.vm_variable "young_bytes", (30 * 1024 * 1024),
"The number of bytes the young generation of the GC should use"

s.vm_variable "young_lifetime", 2,
4 changes: 1 addition & 3 deletions vm/gc/immix.cpp
Original file line number Diff line number Diff line change
@@ -28,11 +28,10 @@ namespace rubinius {
"bytes: %ld, " \
"total_bytes: %ld, " \
"chunks: %ld, " \
"blocks: %ld, " \
"holes: %ld, " \
"percentage: %f",
collections_, objects_, bytes_, total_bytes_,
chunks_, blocks_, holes_, percentage_);
chunks_, holes_, percentage_);
}

void ImmixGC::ObjectDescriber::added_chunk(int count) {
@@ -319,7 +318,6 @@ namespace rubinius {
diagnostics_.chunks_ = chunks.size();

while(immix::Block* block = iter.next()) {
diagnostics_.blocks_++;
diagnostics_.holes_ += block->holes();
diagnostics_.objects_ += block->objects();
diagnostics_.bytes_ += block->object_bytes();
3 changes: 0 additions & 3 deletions vm/gc/immix.hpp
Original file line number Diff line number Diff line change
@@ -25,7 +25,6 @@ namespace rubinius {
int64_t collections_;
int64_t total_bytes_;
int64_t chunks_;
int64_t blocks_;
int64_t holes_;
double percentage_;

@@ -34,7 +33,6 @@ namespace rubinius {
, collections_(0)
, total_bytes_(0)
, chunks_(0)
, blocks_(0)
, holes_(0)
, percentage_(0.0)
{ }
@@ -44,7 +42,6 @@ namespace rubinius {
, collections_(collections)
, total_bytes_(0)
, chunks_(0)
, blocks_(0)
, holes_(0)
, percentage_(0.0)
{ }
2 changes: 1 addition & 1 deletion vm/system_diagnostics.cpp
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ namespace rubinius {
if(summarize) {
utilities::logger::write("object memory: diagnostics: total memory: %ld",
baker_.bytes_ +
immix_.bytes_ +
immix_.total_bytes_ +
mark_sweep_.bytes_ +
headers_.bytes_ +
handles_.bytes_ +
224 changes: 0 additions & 224 deletions vm/util/bert-test.cc

This file was deleted.

1,228 changes: 0 additions & 1,228 deletions vm/util/bert.hpp

This file was deleted.