-
Notifications
You must be signed in to change notification settings - Fork 608
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show the GC wait time with -Xgc.show
- Loading branch information
Showing
1 changed file
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
evanphx
Author
Member
|
||
} | ||
|
||
#ifdef ENABLE_LLVM | ||
if(llvm_state) { | ||
|
Pardon my ignorance: is spenting proper English? Wouldn't it be
Time spent waiting
instead?Again, sorry my ignorance (not native english speaker)