[wildfly-dev] New JDK 8 tool: jdeps

Rory O'Donnell Oracle, Dublin Ireland rory.odonnell at oracle.com
Fri Dec 20 03:54:37 EST 2013


Thank you Norman.

Rgds,Rory
On 20/12/2013 06:34, Norman Maurer wrote:
> Hi Rory,
>
> here you go:
>
> ➜  target git:(master) ✗ 
> /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/bin/jdeps 
> -P -jdkinternals netty-all-5.0.0.Alpha1-SNAPSHOT.jar
> netty-all-5.0.0.Alpha1-SNAPSHOT.jar -> 
> /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/jre/lib/rt.jar 
> (compact3)
> netty-all-5.0.0.Alpha1-SNAPSHOT.jar -> not found
>  io.netty.util.internal.PlatformDependent0 
> (netty-all-5.0.0.Alpha1-SNAPSHOT.jar)
>       -> sun.misc.Cleaner                                   JDK 
> internal API (rt.jar)
>       -> sun.misc.Unsafe                                    JDK 
> internal API (rt.jar)
>  io.netty.util.internal.chmv8.ConcurrentHashMapV8 
> (netty-all-5.0.0.Alpha1-SNAPSHOT.jar)
>       -> sun.misc.Unsafe                                    JDK 
> internal API (rt.jar)
>  io.netty.util.internal.chmv8.ConcurrentHashMapV8$1 
> (netty-all-5.0.0.Alpha1-SNAPSHOT.jar)
>       -> sun.misc.Unsafe                                    JDK 
> internal API (rt.jar)
>  io.netty.util.internal.chmv8.ConcurrentHashMapV8$TreeBin 
> (netty-all-5.0.0.Alpha1-SNAPSHOT.jar)
>       -> sun.misc.Unsafe                                    JDK 
> internal API (rt.jar)
>  io.netty.util.internal.chmv8.CountedCompleter 
> (netty-all-5.0.0.Alpha1-SNAPSHOT.jar)
>       -> sun.misc.Unsafe                                    JDK 
> internal API (rt.jar)
>  io.netty.util.internal.chmv8.CountedCompleter$1 
> (netty-all-5.0.0.Alpha1-SNAPSHOT.jar)
>       -> sun.misc.Unsafe                                    JDK 
> internal API (rt.jar)
>  io.netty.util.internal.chmv8.ForkJoinPool 
> (netty-all-5.0.0.Alpha1-SNAPSHOT.jar)
>       -> sun.misc.Unsafe                                    JDK 
> internal API (rt.jar)
>  io.netty.util.internal.chmv8.ForkJoinPool$2 
> (netty-all-5.0.0.Alpha1-SNAPSHOT.jar)
>       -> sun.misc.Unsafe                                    JDK 
> internal API (rt.jar)
>  io.netty.util.internal.chmv8.ForkJoinPool$WorkQueue 
> (netty-all-5.0.0.Alpha1-SNAPSHOT.jar)
>       -> sun.misc.Unsafe                                    JDK 
> internal API (rt.jar)
>  io.netty.util.internal.chmv8.ForkJoinTask 
> (netty-all-5.0.0.Alpha1-SNAPSHOT.jar)
>       -> sun.misc.Unsafe                                    JDK 
> internal API (rt.jar)
>  io.netty.util.internal.chmv8.ForkJoinTask$1 
> (netty-all-5.0.0.Alpha1-SNAPSHOT.jar)
>       -> sun.misc.Unsafe                                    JDK 
> internal API (rt.jar)
>  io.netty.util.internal.chmv8.Striped64 
> (netty-all-5.0.0.Alpha1-SNAPSHOT.jar)
>       -> sun.misc.Unsafe                                    JDK 
> internal API (rt.jar)
>  io.netty.util.internal.chmv8.Striped64$1 
> (netty-all-5.0.0.Alpha1-SNAPSHOT.jar)
>       -> sun.misc.Unsafe                                    JDK 
> internal API (rt.jar)
>  io.netty.util.internal.chmv8.Striped64$Cell 
> (netty-all-5.0.0.Alpha1-SNAPSHOT.jar)
>       -> sun.misc.Unsafe                                    JDK 
> internal API (rt.jar)
>
> -- 
> Norman Maurer
>
> An 19. Dezember 2013 at 12:15:21, Rory O'Donnell Oracle, Dublin 
> Ireland (rory.odonnell at oracle.com <mailto://rory.odonnell@oracle.com>) 
> schrieb:
>
>> Hi Norman,
>>
>> Would it be possible to send the jdeps output (jdeps -jdkinternals) ?
>>
>> Rgds, Rory
>> On 17/12/2013 13:28, Norman Maurer wrote:
>> > In netty we use sun.misc.Unsafe if present ... I know this is evil ;)
>> >
>> >> Am 17.12.2013 um 14:11 schrieb "Rory O'Donnell" 
>> <rory.odonnell at oracle.com>:
>> >>
>> >> Hi All,
>> >>
>> >> Here's a blog from Erik Costlow on a new tool in JDK 8 that lets 
>> you analyze your code
>> >> for dependencies on JDK internal APIs :
>> >>
>> >> 
>> https://blogs.oracle.com/java-platform-group/entry/closing_the_closed_apis
>> >>
>> >> Please let me know if you have any feedback - I'd be interested to 
>> hear if you use any
>> >> internal APIs.
>> >>
>> >> Rgds,Rory
>> >>
>> >> --
>> >> Rgds,Rory O'Donnell
>> >> Quality Engineering Manager
>> >> Oracle EMEA , Dublin, Ireland
>> >>
>>
>> -- 
>> Rgds,Rory O'Donnell
>> Quality Engineering Manager
>> Oracle EMEA , Dublin, Ireland
>>

-- 
Rgds,Rory O'Donnell
Quality Engineering Manager
Oracle EMEA , Dublin, Ireland

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/wildfly-dev/attachments/20131220/534a4017/attachment.html 


More information about the wildfly-dev mailing list