File path: /jruby-1.4.0/src/org/jruby/runtime/load/LoadService.java | File path: /jruby-1.4.0/src/org/jruby/RubyThread.java | |||
Method name: boolean lockAndRequire(String)
|
Method name: IRubyObject join(IRubyObject[])
|
|||
Number of AST nodes: 0 | Number of AST nodes: 3 | |||
1 | if (threadService.getCritical()) {↵ | |||
2 | // If the target thread is sleeping or stopped, wake it↵ | |||
3 | synchronized (this) {↵ | |||
4 | notify();↵ | |||
5 | }↵ | |||
6 | ↵ | |||
7 | // interrupt the target thread in case it's blocking or waiting↵ | |||
8 | // WARNING: We no longer interrupt the target thread, since this usually means↵ | |||
9 | // interrupting IO and with NIO that means the channel is no longer usable.↵ | |||
10 | // We either need a new way to handle waking a target thread that's waiting↵ | |||
11 | // on IO, or we need to accept that we can't wake such threads and must wait↵ | |||
12 | // for them to complete their operation.↵ | |||
13 | //threadImpl.interrupt();↵ | |||
14 |
| |||
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in different classes |
Number of node comparisons | 0 |