检测到JavaFX未完成的资源锁

时间:2014-12-03 18:35:03

标签: java javafx javafx-8

运行程序15分钟后收到以下消息:

Outstanding resource locks detected:
ES2 Vram Pool: 79,079,089 used (29.5%), 79,079,089 managed (29.5%), 268,435,456 total
67 total resources being managed
average resource age is 382.5 frames
10 resources at maximum supported age (14.900000)
9 resources marked permanent (13.400000)
1 resources have had mismatched locks (1.500000)
1 resources locked (1.500000)
39 resources contain interesting data (58.200000)
0 resources disappeared (0.000000)

我无法确定这意味着什么以及它来自哪里......我读过它通常是由WebView和Canvas制作的。我正在使用Canvas ......

我应该担心吗?

1 个答案:

答案 0 :(得分:4)

对于所有感兴趣的人,根据existing bug database,这似乎是一个JavaFX Bug RT-34921Leonid Popov提到它将在JavaFX 9中修复,comment here。所以我想我们等待修复这个bug。 :) 注意:它应该从Java 8u60(backport)开始修复。