Skip to content

Commit

Permalink
Revert "Temporarily add full JVM trace to Queue interrupt."
Browse files Browse the repository at this point in the history
This reverts commit 03d0261.
  • Loading branch information
headius committed Dec 1, 2014
1 parent 4330af5 commit 4f28b9b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/src/main/java/org/jruby/ext/thread/Queue.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
***** END LICENSE BLOCK *****/
package org.jruby.ext.thread;

import java.util.Arrays;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.atomic.AtomicLong;
Expand Down Expand Up @@ -195,7 +194,7 @@ private IRubyObject pop(ThreadContext context, boolean should_block) {
try {
return context.getThread().executeTask(context, this, takeTask);
} catch (InterruptedException ie) {
throw context.runtime.newThreadError("interrupted in " + getMetaClass().getName() + "#pop: " + Arrays.toString(ie.getStackTrace()));
throw context.runtime.newThreadError("interrupted in " + getMetaClass().getName() + "#pop");
} finally {
numWaiting.decrementAndGet();
}
Expand Down

0 comments on commit 4f28b9b

Please sign in to comment.