Understanding the Reference Handler thread

前端 未结 3 885
野性不改
野性不改 2021-02-07 00:59

I am continuing my path to deep understanding of Java Thread. Unfortunately my Java Certification didn\'t cover that part, so the only way of learning is to post a series of dum

3条回答
  •  没有蜡笔的小新
    2021-02-07 01:13

    Wow, too deep for me. I can only answer one or two of your questions.

    "Native Method" simply means the implementation of that method is in some native (i.e. C or C++) library. Once the call stack has "gone native", the JVM can no longer monitor it. No way for it to provide additional stack information.

    "Unknown Source" likely means the code was compiled with optimization turned on and debugging info turned off (-g flag?). This eliminates the file/line information from the .class file.

提交回复
热议问题