什么是当地人'代表线程转储?

时间:2016-12-13 04:20:46

标签: java jvm threadpool heap-memory

我有下一个stacktrace信息的线程转储:

Thread 0x7d9e7140
  at sun.misc.Unsafe.park(ZJ)V (Native Method)
  at java.util.concurrent.ForkJoinPool.awaitWork(Ljava/util/concurrent/ForkJoinPool$WorkQueue;I)Z (ForkJoinPool.java:1824)
  at java.util.concurrent.ForkJoinPool.runWorker(Ljava/util/concurrent/ForkJoinPool$WorkQueue;)V (ForkJoinPool.java:1693)
  at java.util.concurrent.ForkJoinWorkerThread.run()V (ForkJoinWorkerThread.java:157)

  locals:
    objectId=0x965091b8, line=1
    objectId=0x7d9e8148, line=1
    objectId=0x7d9e7140, line=1
    objectId=0x965091b8, line=2
    objectId=0x7d9e8148, line=2
    objectId=0x7d9e7140, line=3

我想知道当地人代表什么?如何映射它们在堆转储中执行信息?

1 个答案:

答案 0 :(得分:0)

“locals”是与方法一起使用的变量。 http://www.dummies.com/programming/java/local-variables-in-java/