java hidden.edu.emory.mathcs.backport*

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/14465367/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-31 16:22:25  来源:igfitidea点击:

hidden.edu.emory.mathcs.backport*

javathreadpoolstack-tracejava.util.concurrentthread-dump

提问by valodzka

In application thread dump I can see threadpool with five threads like following:

在应用程序线程转储中,我可以看到具有五个线程的线程池,如下所示:

"pool-1-thread-5" prio=10 tid=0x000000000101a000 nid=0xe1f in Object.wait() [0x00007f3c66086000]
  java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x00000007b8e57af8> (a hidden.edu.emory.mathcs.backport.java.util.concurrent.LinkedBlockingQueue$SerializableLock)
    at java.lang.Object.wait(Object.java:503)
    at hidden.edu.emory.mathcs.backport.java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:316)
    - locked <0x00000007b8e57af8> (a hidden.edu.emory.mathcs.backport.java.util.concurrent.LinkedBlockingQueue$SerializableLock)
    at hidden.edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:994)
    at hidden.edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1054)
    at hidden.edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
    at java.lang.Thread.run(Thread.java:722)

But I don't use nothing like this directly and don't see anything like this in dependencies.

但是我不直接使用这样的东西,也没有在依赖项中看到这样的东西。

What is this (hidden.edu.emory.mathcs.backport) and why it used (application running on jdk 7)? Can I detect what part of application starting it?

这是什么(hidden.edu.emory.mathcs.backport)以及为什么使用它(在jdk 7上运行的应用程序)?我可以检测启动它的应用程序的哪一部分吗?

回答by pingw33n

This edu.emory.mathcs.backportpackage tree belongs to backport-util-concurrentwhich is a backport of java.util.concurrentto the older Java versions. The hiddenprefix might have been added by tools like maven-shade-plugin.

edu.emory.mathcs.backport包树属于backport-util-concurrent,它是java.util.concurrent旧 Java 版本的反向移植。该hidden前缀可能已经被类似的工具添加maven-shade-plugin

If you're using Maven you can search for this dependency with:

如果您使用的是 Maven,则可以使用以下命令搜索此依赖项:

mvn dependency:tree -Dincludes=backport-util-concurrent:backport-util-concurrent