JDK-8094614 : Outstanding resource locks detected
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: 8u40
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2015-05-26
  • Updated: 2015-06-12
  • Resolved: 2015-06-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Resolved
Related Reports
Duplicate :  
Relates :  
Description
Like for many other users, ever since JavaFX 8, I have encountered the error "Outstanding resource locks detected" whenever I use a WebView which plays an embedded MP4 Video.
Having seen that the issue was closed in https://javafx-jira.kenai.com/browse/RT-36386?focusedCommentId=460368&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-460532, I've checked with the latest beta version (jdk-8u60-ea-bin-b16-windows-i586-19_may_2015.exe) hoping that it would be solved in it, but unfortunately, the error persists.

Outstanding resource locks detected:
D3D Vram Pool: 13,243,584 used (2.5%), 67,108,864 target (12.5%), 536,870,912 max
11 total resources being managed
average resource age is 0.7 frames
0 resources at maximum supported age (0.0%)
3 resources marked permanent (27.3%)
3 resources have had mismatched locks (27.3%)
3 resources locked (27.3%)
5 resources contain interesting data (45.5%)
0 resources disappeared (0.0%)


Comments
Malis, RT-40630 is fixed now. I checked your testcase (attached) with the fix and it went fine as well. As to the "regression" label. The bug exists since at least 8u20 (probably even earlier), it wasn't reported in 8u20, so formally this is not a regression in 8u40/8u60.
03-06-2015

Thanks Anton! I've just sent you the small test. Sorry for the "regression" label, thought that it meant "that since this bug was not present in JavaFX 2.2, and new in JavaFX 8, that this was a regression".
27-05-2015

This is reproducible in 8u40, so I'm removing the "regression" label.
26-05-2015

This might be a duplicate of RT-40630. I likely found a fix for the latter (going to submit it soon). @Malis, if your test is small enough, please list it here, otherwise please e-mail it to me and I'll attach it.
26-05-2015

Sorry, I haven't seen how I can attach my sample test code...
26-05-2015