Skip to content

Commit

Permalink
Show the GC wait time with -Xgc.show
Browse files Browse the repository at this point in the history
  • Loading branch information
evanphx committed Feb 2, 2012
1 parent a2f8c17 commit 0c125eb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vm/shared_state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ namespace rubinius {
SharedState::~SharedState() {
if(!initialized_) return;

// std::cerr << "Time waiting: " << world_->time_waiting() << "\n";
if(config.gc_show) {
std::cerr << "Time spenting waiting: " << world_->time_waiting() << "\n";

This comment has been minimized.

Copy link
@luislavena

luislavena Feb 2, 2012

Member

Pardon my ignorance: is spenting proper English? Wouldn't it be Time spent waiting instead?

Again, sorry my ignorance (not native english speaker)

This comment has been minimized.

Copy link
@evanphx

evanphx Feb 2, 2012

Author Member

Despite being a native english speaker, my typos are not.

Yes, you're correct. Please fix!

This comment has been minimized.

Copy link
@argent-smith

argent-smith via email Feb 3, 2012

Member
}

#ifdef ENABLE_LLVM
if(llvm_state) {
Expand Down

0 comments on commit 0c125eb

Please sign in to comment.