Skip to content
Permalink
Browse files
Revert "Temporarily add full JVM trace to Queue interrupt."
This reverts commit 03d0261.
  • Loading branch information
headius committed Dec 1, 2014
1 parent 4330af5 commit 4f28b9b2282ea6c7b59b644a299d3f82b7bc2f6b
Showing with 1 addition and 2 deletions.
  1. +1 −2 core/src/main/java/org/jruby/ext/thread/Queue.java
@@ -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;
@@ -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();
}

0 comments on commit 4f28b9b

Please sign in to comment.