-Xcheck: jni with JDK 1.8.0_60 now causes an avalanche of warnings
I've been using the java command line option -Xcheck: jni for years, without seeing much (all?) issues already raised, so far.
I just updated to the last JDK yesterday (1.8.0_60, for Windows 64-bit), and now my apps generate tons of console warning messages and stack traces. At the end of this post, I list some of them.
Anyone know what is happening?
I did a web search, but found nothing related to what I see (just old posts like this).
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Warning: local References NYI: zu, exceeds the capacity: zu
at java.lang.System.initProperties (Native Method)
at java.lang.System.initProperties (Native Method)
at java.lang.System.initProperties (Native Method)
at java.lang.System.initializeSystemClass (unknown Source)
at java.lang.System.initializeSystemClass (unknown Source)
at java.lang.System.initializeSystemClass (unknown Source)
Warning: local References NYI: zu, exceeds the capacity: zu
at java.net.NetworkInterface.getAll (Native Method)
at java.net.NetworkInterface.getNetworkInterfaces (unknown Source)
at sun.security.provider.SeedGenerator.addNetworkAdapterInfo (unknown Source)
to sun.security.provider.SeedGenerator.access$ 000 (unknown Source)
to sun.security.provider.SeedGenerator$ 1.run (unknown Source)
to sun.security.provider.SeedGenerator$ 1.run (unknown Source)
at java.security.AccessController.doPrivileged (Native Method)
at sun.security.provider.SeedGenerator.getSystemEntropy (unknown Source)
to sun.security.provider.SecureRandom$ SeederHolder. < clinit >(Unknown Source)
at sun.security.provider.SecureRandom.engineNextBytes (unknown Source)
-locked (a sun.security.provider.SecureRandom) < 0x00000000fc5ec1c0 >
at java.security.SecureRandom.nextBytes (unknown Source)
-locked < 0x00000000fc5ec4e0 > (a java.security.SecureRandom)
the impossible (unknown Source)
at java.util.Random.nextLong (unknown Source)
at org.mortbay.jetty.servlet.HashSessionIdManager.doStart(HashSessionIdManager.java:139)
...
WARNING in the native method: call NYI makes no exceptions check when required from CallStaticVoidMethod
at java.lang.ClassLoader.findBootstrapClass (Native Method)
at java.lang.ClassLoader.findBootstrapClassOrNull (unknown Source)
at java.lang.ClassLoader.loadClass (unknown Source)
-locked < 0x00000000fbd80198 > (a java.lang.Object)
at java.lang.ClassLoader.loadClass (unknown Source)
-locked < 0x00000000fbd800f0 > (a java.lang.Object)
to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (unknown Source)
at java.lang.ClassLoader.loadClass (unknown Source)
...
WARNING in the native method: call NYI makes no exceptions check when required from CallStaticVoidMethod
at java.io.FileOutputStream.writeBytes (Native Method)
the impossible (unknown Source)
at java.io.BufferedOutputStream.flushBuffer (unknown Source)
at java.io.BufferedOutputStream.flush (unknown Source)
-locked (a java.io.BufferedOutputStream) < 0x00000000f3c7b958 >
at java.io.PrintStream.write (unknown Source)
-locked < 0x00000000f3c7b938 > (a java.io.PrintStream)
at sun.nio.cs.StreamEncoder.writeBytes (unknown Source)
at sun.nio.cs.StreamEncoder.implFlushBuffer (unknown Source)
at sun.nio.cs.StreamEncoder.flushBuffer (unknown Source)
-locked < 0x00000000f3c7ba80 > (a java.io.OutputStreamWriter)
at java.io.OutputStreamWriter.flushBuffer (unknown Source)
at java.io.PrintStream.write (unknown Source)
-locked < 0x00000000f3c7b938 > (a java.io.PrintStream)
at java.io.PrintStream.print (unknown Source)
at java.io.PrintStream.println (unknown Source)
-locked < 0x00000000f3c7b938 > (a java.io.PrintStream)
...
WARNING in the native method: call NYI makes no exceptions check when required from CallStaticVoidMethod
at java.lang.Runtime.runFinalization0 (Native Method)
at java.lang.Runtime.runFinalization (unknown Source)
the impossible (unknown Source)
...
WARNING in the native method: call NYI makes no exceptions check when required from CallStaticVoidMethod
at java.net.SocketOutputStream.socketWrite0 (Native Method)
at java.net.SocketOutputStream.socketWrite (unknown Source)
at java.net.SocketOutputStream.write (unknown Source)
at java.io.BufferedOutputStream.flushBuffer (unknown Source)
at java.io.BufferedOutputStream.flush (unknown Source)
-locked (a java.io.BufferedOutputStream) < 0x00000000f45962f0 >
at java.io.DataOutputStream.flush (unknown Source)
...
This would be a result of JDK-8043224 "-Xcheck:jni improvements to exception checking and excessive local refs. There were a few checks additional paranoia made, many of the warnings are theoretically correct, but in practice, no dangerous product.
Local refs JNI example: application in the Hotspot JVM, these blocks of memory for JNI references automatically push. For programs that are actually fleeing too much memory by mistake, this warning is not so useful. Other implementations of JVM (namely those who have memory constraints) may very well require according to the JNI specification more space to handle is explicitly requested (for example EnsureLocalCapacity).
If the warnings produced by - Xcheck: jni have been added to the JNI specification in mind, allowing users to find potential problems, even when the JVM implementations.
Some of the warning of the native code of the JDK are produced by the code of boot/bootstrap, which some has not changed for a long time, and are of nature if X did not work the JVM cannot work at all. It would be nice to remove some of these warnings, if... probably over time, since - Xcheck: jni is not something we would use in production.
Tags: Java
Similar Questions
-
Hello, I have a problem with Mozilla Firefox 14 and now also Firefox 15. When I click on .html files on my desktop, firefox will open a new window twice. Where is the problem? Thank you
That may be a problem with the DDE.
Try to undo and redo Firefox as default browser.
Make a different browser like IE browser by default and then let Firefox do it again.
See: -
After the upgrade to Firefox 4.0, I returned to Firefox 3.6 because plug-ins, such as Media Player, would not work just with 4.0. They now work with 4.0.1?
I used WMP plugin with Firefox 4 since its release.
The problem is probably because she couldn't find the WMP plugin. One way around this problem is to install the HTML5 Extension for Windows Media Player Firefox plugin available from http://www.interoperabilitybridges.com/html5-extension-for-wmp-plugin
This add-on will do 2 things, it will install the WMP plugin in a place that can find Firefox 4, it will also add an extension to add additional functionality for use by Windows Media Player. This extension has been reported as causing memory leaks, so I recommend that once you install the HTML5 Extension for Windows Media Player Firefox plugin, you must restart Firefox then uninstall the extension. The extension uninstaller will not remove the plugin, Firefox 4 will still be able to use it.
-
Dear Forum,
I replaced my original HARD with a SSD drive, but now HP support assistant recognizes my phone? The program runs but updates always fail and when I look at general specifications the serial number, product name, number of product, microprocessors, system memory, motherboard, bios system, drive hard (s), and optical drive (s) are all empty. Interestingly, it recognizes the device to display (s) as being mobile intel (R) HD graphics and current resolution of 1366 x 768 and refresh rate 60.
My laptop is an Australian model HP DV4 3029tx, which is an intel i5 14 "(2ème génération) with AMD graphics 6750" I replaced the original 640 GB hd with a 180 GB ocz vertex 2 using acronis to clone the drive.
I would be grateful is anyone know how to get hp support assistant to recognize my computer.
Thank you very much
Hello
Try this: http://h30434.www3.hp.com/t5/Desktop-Operating-Systems/HP-Support-Assistant-not-working-on-Win7/m-p/736511#M34734
I think that cloning might be the question because the original configuration has been changed. Simple uninstall and reinstall again could possibly solve the problem as well... -
Problem with Vista Home Premium Validation
I bought a laptop HP of Costco comes with Vista Home Premium but now I
Validation code 50. Invalid license.Validation of Windows through web just hangs. The key of product or paper plate
at the base of the laptop is worn out and not readable. I don't want to reformat my drive
or reinstall my software applications. What is the easiest solution? The cheapest?There must be a mistake that is not my fault. Is it possible to validate my particular
laptop if I provided the results of you and MGA diagnostics validate on your side?Hello
I suggest you contact HP support for assistance.
-
How to get pps attachments open with Power Point, they did, now, they are not
All attachments that have been elements of power point, allows to open with Microsoft Office Power Point, now, they are trying to open with Microsoft Digital
Image Starter Edition which does not.
How can I get to open with PowerPoint again?Create a file association.1. download and save the attachment to the office.
2. right click on the saved file.
3. Select: Open with on the shortcut menu.
4. click on: choose [default] program.
5. Select: PowerPoint.
6. check: always use the selected program to open this type of file.
7. click on OK.This should allow you to open these attachments directly from email address now. -
my old motherboard was brockin so I replaced it with a new one and now I carnt activate windows pleae help
Something that all OEM computer owners need to understand...
Citing the example of a desktop HP ENVY h8-1419 PC...
It is the motherboard that determines the make and model of a PC OEM, NOT the case.
OEM motherboards contain BIOS custom, in this case HP. Installing OEM key code and recovery disks or partitions will work as long as the Windows installation find a BIOS from HP and the type of motherboard, Windows will validate and remain active.
When replacing the motherboard, for some reason, with a motherboard that does NOT have a custom BIOS HP, the computer is no longer a desktop HP ENVY h8-1419 PC.
If the 'new' motherboard first saw life in a DELL computer, it then becomes a DELL. It is not possible to use custom installation of another brand of OEM OEM.
If she started life in a box of motherboard manufacturer on the set of a major computer parts retailer, is no longer a desktop HP ENVY h8-1419 PC. It's everything that appears as the make and model in the box...
In the first case, you will need the COA, the key code sticker and the DELL machine DELL of origin if original installation media you want together upwards, the drivers and all.
Or, as in the second case, you will need either a retail key code or a code key of system manufacturer which must be purchased.
-
Hi, I have installed sqldeveloper - 4.0.3.16.84 - x 64 with JDK and tried to run SQLDeveloper.exe its does not work. A flash comes and goes. It worked fine until two days ago. Don't know what happened all of a sudden its not working. Need help.
I use Windows 7 Pro.
I have read other threads and tried to launch SQLDeveloper.exe from the CMD prompt, nothing is shown a flash comes and goes.
Tried to change of SetJavaHome sqldeveloper.conf to the path JDK that it didn't work.
Please guide me.
Thank you
Maybe there is a problem with SQL Developer, being able to write to the network share of desktop directory. Add the following to your sqldeveloper.conf file to force the settings of the user to store locally also:
AddVMOption - Dide.user.dir = some_local_dir_to_own_system4.0.3.16.84
I hope this helps...
-
I created a project with the first 14 and now subscribed elements trial version. However, when I open it there still the band "created with the trial version...". "in the middle of the page. How can I get rid of this?
SAMT
Removal of watermark Adobe Premiere elements 14 test of the project file... Open the project file of 14 trials in 14 items purchased and then first Expert rendered workspaceTimeline Menu/delete the files. Then restore the timeline content.
You can not remove the watermark from Adobe to an export of the trial even after you bought the product.
Some of us have found that just opening the project of tryout in removes it from Premiere Elements purchased the Adobe watermark. Determine the way that works for you.
Please let us know if everything above worked for you.
Thank you.
RTA
-
I installed photoshop cs2 with the serial number, but now, photoshop will not open because no user name or serial number correct?
Have you installed the special version? You must...
CS2: Error: unavailable activation server | CS2, Acrobat 7, hearing 3 -.
l http://helpx.adobe.com/x-productkb/Policy-Pricing/Creative-Suite-2-activation-end-Life.htm
https://helpx.Adobe.com/Creative-Suite/KB/CS2-product-downloads.html
-
I have uninstall it by accident with Adobe Acrobat PRO DC with third party software. Now I can't install Adobe and creative cloud does not load apps. How a fix it?
Hey bellmarg,
Please uninstall Adobe CC using this cleanup tool use the Adobe Creative Cloud cleaning tool to solve installation problems, restart your computer & reinstall it using this link Adobe Acrobat Pro DC: PDF Converter, convert PDF files from anywhere.
Let me know how it goes.
Kind regards
Nicos
-
Security.addProvider with JDK 7 update 21
Hello
from the update to JDK 7 21 the following method call throws an exception of security while executing within an applet.
The applet and bcprov.jar is signed with a valid certificate:
Security.addProvider (new BouncyCastleProvider());
With JDK 7 update 17 that it still worked.It seems that since the updated JRE 7 21 the following lines are necessary to the jnlp file when adding a BC provider:
Anyway, it solves our problem...
-
I downloaded red CS6 plugin and added to the contents of the package, replaced the existing files with the new without saving, now my thumbnails images RED and the color correction do not WORK! How to bring back my old file importerRed! ?? Help!
Try asking in the forum Premiere Pro seems to be an Adobe first Pro Lab
-
WARNING: JDeveloper 11.1.2.0 gives a warning with jdk 1.7
I installed JDeveloper 11.1.2.0 with pointing to jdk 1.7 jvm.
He always gives a warning message at the beginning saying that the jdk is not certified and jdeveloper may not work properly.
However, when I continue despite warning it starts jdeveloper.
My question is are will have problems with all the features of the JDeveloper so I continue to use it with jdk 1.7?
Can I download jdk 1.6.xx?
If so how can I change the jdeveloper to point to it?
Help, pleaseYou can even in jdev.conf file to point to the correct jdk
Yes, but... what happens if the built-in WLS has already been built? That will not change it to the JDK supported.
I stand by my original comment - the most foolproof way to do this: uninstall JDeveloper and reinstall it with the correct JDK
-
I've updated my laptop with Adobe X 1 and now all my existing documents of the savedPDF open as a word document to encryted, HELP! Please, I beg you!
Juliea salvation,
I think that the PDF file association is not correct. Instead of a double click on the file to open it, please try below mentioned
- Right-click on the file and select open with...
- Select Choose default program
- Select Adobe Reader from the list (if it is not in the list, and then navigate to C:\Program Files (x 86) \Adobe\Reader 10.0\Reader, then select AcroRd32.exe)
- Don't forget to check the box "always use the selected program to open this type of file."
- Click ok
~ Dominique
Maybe you are looking for
-
When I run VI analyzer and open our standard configuration file, the message "some screws and/or essays have been added or removed from your file since changed record system this file of configuration." appears. By clicking OK, choose something to an
-
We watched in 'Deleted items' and they weren't there. We also "restored" the bin "recycling" and even did not see them return.
-
problem in the structure of the event
I use a structure of the event and have a problem. I use an event where the event is enter button of the mouse to the top. I have a Boolean where the timeout. I need this value when true to disable the mouse button to enter (the key enter will make n
-
I bought an Acer monitor for a new computer, it was perfect and it came with everything in the box. I liked so much that next week for another computer, I bought the same monitor. This monitor did not come with a DVI - D cable to connect the monitor
-
Where's my scanned document?
I downloaded both documents scanned from my laptop. They appear on my computer, (devices with removable storage) when it is connected to my laptop as Tif files, but I can't find them on my pre phone when I log out of my laptop.