What does "eliminated" mean in a Java stack trace?
NickName:zedix Ask DateTime:2014-02-07T23:04:25

What does "eliminated" mean in a Java stack trace?

I'm looking at a thread dump of my Java application, and have noticed that sometimes instead of showing "locked", I see the keyword "eliminated", as seen below:

"Worker [4]" prio=10 tid=0x00007fb1262d8800 nid=0x89a0 in Object.wait() [0x00007fb15b147000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:503)
        at com.myapp.common.util.WaitableQueue.getAll(WaitableQueue.java:152)
        - eliminated <0x00000004d0d28e18> (a com.myapp.common.util.balq.SingleQueueQController$_WorkerQueue)
        at com.myapp.common.util.balq.SingleQueueQController$_WorkerQueue.getAll(SingleQueueQController.java:3527)
        - locked <0x00000004d0d28e18> (a com.myapp.common.util.balq.SingleQueueQController$_WorkerQueue)
        at com.myapp.common.util.AbstractWorker.read(AbstractWorker.java:678)
        at com.myapp.common.util.AbstractWorker.runBulk(AbstractWorker.java:541)
        at com.myapp.common.util.AbstractWorker.run(AbstractWorker.java:343)

Surprisingly, I can't find anything on Google about this. What is the difference between the "locked" and "eliminated" keywords?

Copyright Notice:Content Author:「zedix」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/21631052/what-does-eliminated-mean-in-a-java-stack-trace

More about “What does "eliminated" mean in a Java stack trace?” related questions

What does this stand for?

What does '\r' mean? What does it do? I have never seen it before and its giving me headaches. It doesnt seem to have any purpose, since 'a\ra' prints as 'aa', but its not the same as the string 'a...

Show Detail

What is Yii 2.0 and what does it do?

How does Yii 2.0 work and what does it do? I'm new to IT. I read the documentation online, but I don't understand what it does and how it works. Maybe the documentation is to advanced for me or my

Show Detail

What does DefaultListModel.contains() does?

I am watching the following expressions in Eclipse debugger downsPanel.relsListModel.elementAt(4)==oldValue and downsPanel.relsListModel.contains(oldValue) First of them evaluates to true, and ...

Show Detail

What is POI and what does it mean?

What is POI? I have seen this term being used several times in context of C++ Templates. What does it mean?

Show Detail

what does what() const throw mean?

In C++ concurrency in Action page 45 I have this code #include &lt;exception&gt; #include &lt;memory&gt; struct empty_stack: std::exception { const char* what() const throw(); //&lt;--- what

Show Detail

what does this function do and what does it mean ?`

I'm trying to understand what each line of this code does e.g. why is the $ there and what does it do?, can anyone help? &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery....

Show Detail

Jquery $() - what does it return, and what is $()[0]?

I'm looking at an example of how to use jqGrid, which is a jQuery plugin. It's drawing a grid in a div with an id of 'list'. It creates the grid with $('#list').jqGrid(...). But it populates the...

Show Detail

What does this mixin mean?

In a scss file, I saw the below code snippet: @mixin myMixin() { :global(.rtl) &amp; { @content; } } I understand the keywords @mixinas well as @content and tried to understand :g...

Show Detail

Why does this do what it does?

I found this interesting item in a blog today: def abc(): try: return True finally: return False print "abc() is", abc() Can anyone tell why it does what it does? Thanks

Show Detail

What does shutdownHooks RuntimePermission does?

I saw that to show a JOptionPane message dialog I need the shutdownHooks permition. What does it do? And what's the possible risk of give this permission to third party code?

Show Detail