autoreleased with no pool in place - just leaking

Tomas Hurka tomas.hurka at googlemail.com
Fri Jun 1 23:54:58 PDT 2012


Hi,
when running Java2Demo with current JDK8 build, I have got the following warnings on the console:

jdk8-tl thurka$ ./build/macosx-x86_64/j2sdk-image/bin/java -jar /Users/thurka/Projects/Source/Java2D/Java2Demo.jar
2012-06-02 08:44:23.751 java[4727:8107] *** __NSAutoreleaseNoPool(): Object 0x1002450d0 of class NSCFNumber autoreleased with no pool in place - just leaking
2012-06-02 08:44:23.753 java[4727:8107] *** __NSAutoreleaseNoPool(): Object 0x1001e3530 of class NSConcreteValue autoreleased with no pool in place - just leaking
2012-06-02 08:44:23.753 java[4727:8107] *** __NSAutoreleaseNoPool(): Object 0x100234090 of class NSCFNumber autoreleased with no pool in place - just leaking
2012-06-02 08:44:23.754 java[4727:8107] *** __NSAutoreleaseNoPool(): Object 0x1002cd7d0 of class NSConcreteValue autoreleased with no pool in place - just leaking
2012-06-02 08:44:23.754 java[4727:8107] *** __NSAutoreleaseNoPool(): Object 0x1002c0b70 of class NSCFDictionary autoreleased with no pool in place - just leaking
jdk8-tl thurka$ 

The attached patch fixes this warning. Should I file CR for it?

Bye,
--
Tomas Hurka   <mailto:tomas.hurka at oracle.com>
NetBeans Profiler http://profiler.netbeans.org
VisualVM http://visualvm.java.net
Software Developer
Oracle, Praha Czech Republic




More information about the macosx-port-dev mailing list