-
Bug
-
Resolution: Fixed
-
P3
-
hs11, hs14
-
b01
-
sparc
-
solaris, solaris_10
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2177179 | 7 | Swamy Venkataramanappa | P3 | Closed | Fixed | b31 |
JDK-2172096 | 6u10 | Swamy Venkataramanappa | P3 | Resolved | Fixed | b27 |
JDK-2164386 | hs11 | Swamy Venkataramanappa | P3 | Closed | Fixed | b14 |
Doubled methods are shown in jstack output on Solaris/Sparc when SA mechanism is used, namely jstack is run with options -m and -F.
Testcase
public class Test {
public static void main(String[] args) {
try {
while (true) Thread.sleep(1000);
} catch (Exception e2) { } }
}
output of jstack -F
....
Thread t@7: (state = BLOCKED)
- java.lang.Object.wait(long) @bci=679454459 (Interpreted frame)
- java.lang.Object.wait(long) @bci=0 (Interpreted frame)
- java.lang.ref.ReferenceQueue.remove(long) @bci=44, line=134 (Interpreted frame)
- java.lang.ref.ReferenceQueue.remove() @bci=2, line=150 (Interpreted frame)
- java.lang.ref.Finalizer$FinalizerThread.run() @bci=3, line=177 (Interpreted frame)
....
Thread t@2: (state = BLOCKED)
- java.lang.Thread.sleep(long) @bci=0 (Interpreted frame)
- java.lang.Thread.sleep(long) @bci=0 (Interpreted frame)
- Test3.main(java.lang.String[]) @bci=22, line=8 (Interpreted frame)
Testcase
public class Test {
public static void main(String[] args) {
try {
while (true) Thread.sleep(1000);
} catch (Exception e2) { } }
}
output of jstack -F
....
Thread t@7: (state = BLOCKED)
- java.lang.Object.wait(long) @bci=679454459 (Interpreted frame)
- java.lang.Object.wait(long) @bci=0 (Interpreted frame)
- java.lang.ref.ReferenceQueue.remove(long) @bci=44, line=134 (Interpreted frame)
- java.lang.ref.ReferenceQueue.remove() @bci=2, line=150 (Interpreted frame)
- java.lang.ref.Finalizer$FinalizerThread.run() @bci=3, line=177 (Interpreted frame)
....
Thread t@2: (state = BLOCKED)
- java.lang.Thread.sleep(long) @bci=0 (Interpreted frame)
- java.lang.Thread.sleep(long) @bci=0 (Interpreted frame)
- Test3.main(java.lang.String[]) @bci=22, line=8 (Interpreted frame)
- backported by
-
JDK-2172096 SA: Jstack prints doubled native methods on Solaris/Sparc
- Resolved
-
JDK-2164386 SA: Jstack prints doubled native methods on Solaris/Sparc
- Closed
-
JDK-2177179 SA: Jstack prints doubled native methods on Solaris/Sparc
- Closed
- relates to
-
JDK-6752400 (audit) apply HSX-11 fix for 6620329 to HSX-12 and HSX-13
- Closed