* enable Shark support in JAVA
@ 2013-10-31 15:08 sonia verma
2013-10-31 15:10 ` sonia verma
2013-10-31 16:26 ` enable Shark support in JAVA Khem Raj
0 siblings, 2 replies; 10+ messages in thread
From: sonia verma @ 2013-10-31 15:08 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 337 bytes --]
Hi ALL,
I have integrated Java in one of the board having Powerpc architecture
using meta-java. By default it cam with Zero port support which only works
in interpreter mode.
I need to enable Shark support in that. Can any one please help me with the
procedure to compile JAVA with Shark support.
--
Regards
Sonia Verma
[-- Attachment #2: Type: text/html, Size: 429 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: enable Shark support in JAVA
2013-10-31 15:08 enable Shark support in JAVA sonia verma
@ 2013-10-31 15:10 ` sonia verma
2013-11-03 17:59 ` Andrew Haley
2013-10-31 16:26 ` enable Shark support in JAVA Khem Raj
1 sibling, 1 reply; 10+ messages in thread
From: sonia verma @ 2013-10-31 15:10 UTC (permalink / raw)
To: yocto, zero-dev
[-- Attachment #1: Type: text/plain, Size: 476 bytes --]
adding zero-dev in loop.
On Thu, Oct 31, 2013 at 8:38 PM, sonia verma <soniaverma9727@gmail.com>wrote:
> Hi ALL,
>
> I have integrated Java in one of the board having Powerpc architecture
> using meta-java. By default it cam with Zero port support which only works
> in interpreter mode.
>
> I need to enable Shark support in that. Can any one please help me with
> the procedure to compile JAVA with Shark support.
>
> --
> Regards
>
> Sonia Verma
>
>
[-- Attachment #2: Type: text/html, Size: 962 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: enable Shark support in JAVA
2013-10-31 15:08 enable Shark support in JAVA sonia verma
2013-10-31 15:10 ` sonia verma
@ 2013-10-31 16:26 ` Khem Raj
2013-10-31 16:56 ` sonia verma
1 sibling, 1 reply; 10+ messages in thread
From: Khem Raj @ 2013-10-31 16:26 UTC (permalink / raw)
To: sonia verma; +Cc: yocto@yoctoproject.org
On Thu, Oct 31, 2013 at 8:08 AM, sonia verma <soniaverma9727@gmail.com> wrote:
> Hi ALL,
>
> I have integrated Java in one of the board having Powerpc architecture using
> meta-java. By default it cam with Zero port support which only works in
> interpreter mode.
>
> I need to enable Shark support in that. Can any one please help me with the
> procedure to compile JAVA with Shark support.
zero is the best option you have. Shark wont work on ppc.
>
> --
> Regards
>
> Sonia Verma
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: enable Shark support in JAVA
2013-10-31 16:26 ` enable Shark support in JAVA Khem Raj
@ 2013-10-31 16:56 ` sonia verma
2013-10-31 17:05 ` Khem Raj
0 siblings, 1 reply; 10+ messages in thread
From: sonia verma @ 2013-10-31 16:56 UTC (permalink / raw)
To: Khem Raj; +Cc: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 10892 bytes --]
Hi Khem
Actually I'm runninng JAVA based Opendaylight controller on powerpc
architecture with zero ineterpreter mode and it takes about 10 min to start.
On the another hand when I run it on x-86 machine,in hardly takes few
seconds to start.
Board supporting java:
java version "1.7.0_25"
OpenJDK Runtime Environment (IcedTea 2.3.12) (25b30-2.3.12)
OpenJDK Zero VM (build 23.7-b01, interpreted mode)
Java -version at x-86 is as follows..
java -version
java version "1.7.0_25"
OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1ubuntu0.12.04.2)
OpenJDK Server VM (build 23.7-b01, mixed mode)
2013-10-31 01:00:03.508 UTC [Start Level Event Dispatcher] INFO
o.o.c.s.binding.impl.BrokerActivator - Binding Aware Broker initialized
osgi> 2013-10-31 01:00:04.374 UTC [Start Level Event Dispatcher] INFO
o.o.c.c.s.internal.
ClusterManager - I'm a GossipRouter will listen on 1
2013-10-31 01:00:04.611 UTC [Start Level Event Dispatcher] INFO
o.o.c.c.s.internal.ClusterManager - Started GossipRouter
GossipRouter started at Thu Oct 31 01:00:04 UTC 2013
Listening on port 12001 bound on address 0.0.0.0/0.0.0.0
Backlog is 1000, linger timeout is 2000, and read timeout is 0
2013-10-31 01:00:04.612 UTC [Start Level Event Dispatcher] INFO
o.o.c.c.s.internal.ClusterManager - Starting the ClusterManager
2013-10-31 01:00:13.639 UTC [Start Level Event Dispatcher] INFO
o.o.c.c.i.ConfigurationService - ConfigurationService Manager init
2013-10-31 01:00:15.782 UTC [Start Level Event Dispatcher] INFO
o.o.c.n.i.osgi.NetconfImplActivator - Starting TCP netconf server at
/127.0.3
Oct 31, 2013 1:00:17 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the java.librarb
Oct 31, 2013 1:00:22 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Oct 31, 2013 1:00:23 AM
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener createMBeans
SEVERE: No global naming context defined for server
Oct 31, 2013 1:00:23 AM org.apache.catalina.core.StandardService
startInternal
INFO: Starting service Catalina
Oct 31, 2013 1:00:23 AM org.apache.catalina.core.StandardEngine
startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.32
Oct 31, 2013 1:00:23 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
2013-10-31 01:01:46.580 UTC [ConfigPersister-registrator] INFO
o.o.c.n.p.i.ConfigPersisterNotificationHandler - Session id received from
net1
2013-10-31 01:01:46.587 UTC [ConfigPersister-registrator] INFO
o.o.c.n.p.i.ConfigPersisterNotificationHandler - No last config provided by
b]
Oct 31, 2013 1:02:08 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
Oct 31, 2013 1:02:09 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'Flows'
Oct 31, 2013 1:02:35 AM
com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31
PM'
Oct 31, 2013 1:02:35 AM
com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder
<init>
INFO: Instantiated the Application class
org.opendaylight.controller.northbound.commons.NorthboundApplication
Oct 31, 2013 1:02:52 AM
com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31
PM'
Oct 31, 2013 1:02:52 AM
com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder
<init>
INFO: Instantiated the Application class
org.opendaylight.controller.northbound.commons.NorthboundApplication
Oct 31, 2013 1:03:22 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
Oct 31, 2013 1:03:23 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'RootGUI'
Oct 31, 2013 1:03:44 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
Oct 31, 2013 1:03:44 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'Devices'
Oct 31, 2013 1:04:01 AM
com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31
PM'
Oct 31, 2013 1:04:01 AM
com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder
<init>
INFO: Instantiated the Application class
org.opendaylight.controller.northbound.commons.NorthboundApplication
Oct 31, 2013 1:04:17 AM
com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31
PM'
Oct 31, 2013 1:04:17 AM
com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder
<init>
INFO: Instantiated the Application class
org.opendaylight.controller.northbound.commons.NorthboundApplication
Oct 31, 2013 1:04:38 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
Oct 31, 2013 1:04:38 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'Troubleshoot'
Oct 31, 2013 1:04:48 AM
com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31
PM'
Oct 31, 2013 1:04:48 AM
com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder
<init>
INFO: Instantiated the Application class
org.opendaylight.controller.networkconfig.neutron.northbound.NeutronNorthboundRSApplication
Oct 31, 2013 1:05:05 AM
com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31
PM'
Oct 31, 2013 1:05:05 AM
com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder
<init>
INFO: Instantiated the Application class
org.opendaylight.controller.northbound.commons.NorthboundApplication
Oct 31, 2013 1:05:21 AM
com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31
PM'
Oct 31, 2013 1:05:21 AM
com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder
<init>
INFO: Instantiated the Application class
org.opendaylight.controller.northbound.commons.NorthboundApplication
Oct 31, 2013 1:05:45 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
Oct 31, 2013 1:05:45 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'Topology'
2013-10-31 01:05:48.392 UTC [Start Level Event Dispatcher] INFO
o.o.c.s.t.provider.ToasterProvider - Provider Session initialized
Oct 31, 2013 1:06:03 AM
com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31
PM'
Oct 31, 2013 1:06:03 AM
com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder
<init>
INFO: Instantiated the Application class
org.opendaylight.controller.northbound.commons.NorthboundApplication
2013-10-31 01:06:06.154 UTC [ControllerI/O Thread] INFO
o.o.c.p.o.core.internal.ControllerIO - Controller is now listening on
any:6633
2013-10-31 01:06:07.050 UTC [ControllerI/O Thread] INFO
o.o.c.p.o.core.internal.Controller - Switch:192.168.6.123:56750 is
connected to the r
Oct 31, 2013 1:06:07 AM
com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31
PM'
Oct 31, 2013 1:06:07 AM
com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder
<init>
INFO: Instantiated the Application class
org.opendaylight.controller.containermanager.northbound.ContainerManagerNorthboundRSApplication
2013-10-31 01:06:10.563 UTC [ControllerI/O Thread] INFO
o.o.c.p.o.core.internal.Controller - Switch:192.168.6.137:52815 is
connected to the r
2013-10-31 01:06:12.369 UTC [pool-13-thread-1] INFO
o.o.c.f.i.ForwardingRulesManager - Forwarding mode for node
OF|00:00:00:04:9f:02:a3:e3 se
2013-10-31 01:06:12.371 UTC [pool-13-thread-1] WARN
o.o.c.f.i.ForwardingRulesManager - Failed to remove Proactive Static flow:
__Punt ARP__
2013-10-31 01:06:12.372 UTC [pool-13-thread-1] WARN
o.o.c.f.i.ForwardingRulesManager - Failed to remove Proactive Static flow:
__Punt LLDP__
2013-10-31 01:06:12.373 UTC [pool-13-thread-1] WARN
o.o.c.f.i.ForwardingRulesManager - Failed to remove Proactive Static flow:
__Catch-All D_
2013-10-31 01:06:12.753 UTC [fileinstall-./plugins] INFO
o.o.c.s.l.i.LoadBalancerService - Running container name:default
2013-10-31 01:06:12.756 UTC [fileinstall-./plugins] INFO
o.o.c.s.l.i.LoadBalancerService - ConfigManager [vips={}, pools={}]
Oct 31, 2013 1:06:20 AM
com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31
PM'
Oct 31, 2013 1:06:20 AM
com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder
<init>
INFO: Instantiated the Application class
org.opendaylight.controller.northbound.commons.NorthboundApplication
Oct 31, 2013 1:06:27 AM
com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31
PM'
Oct 31, 2013 1:06:27 AM
com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder
<init>
INFO: Instantiated the Application class
org.opendaylight.controller.northbound.commons.NorthboundApplication.
I have read that enabling shark would speed up the process. Please help in
tackling the above issue
Thanks
On Thu, Oct 31, 2013 at 9:56 PM, Khem Raj <raj.khem@gmail.com> wrote:
> On Thu, Oct 31, 2013 at 8:08 AM, sonia verma <soniaverma9727@gmail.com>
> wrote:
> > Hi ALL,
> >
> > I have integrated Java in one of the board having Powerpc architecture
> using
> > meta-java. By default it cam with Zero port support which only works in
> > interpreter mode.
> >
> > I need to enable Shark support in that. Can any one please help me with
> the
> > procedure to compile JAVA with Shark support.
>
> zero is the best option you have. Shark wont work on ppc.
>
> >
> > --
> > Regards
> >
> > Sonia Verma
> >
> >
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> >
>
[-- Attachment #2: Type: text/html, Size: 12424 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: enable Shark support in JAVA
2013-10-31 16:56 ` sonia verma
@ 2013-10-31 17:05 ` Khem Raj
2013-11-01 5:15 ` sonia verma
0 siblings, 1 reply; 10+ messages in thread
From: Khem Raj @ 2013-10-31 17:05 UTC (permalink / raw)
To: sonia verma; +Cc: yocto@yoctoproject.org
On Thu, Oct 31, 2013 at 9:56 AM, sonia verma <soniaverma9727@gmail.com> wrote:
> Hi Khem
>
> Actually I'm runninng JAVA based Opendaylight controller on powerpc
> architecture with zero ineterpreter mode and it takes about 10 min to start.
>
yes. I dont think there are much possibilities there. You can try
IBM's proprietary JRE J9 for ppc and see
if that works on FSL machine. That should get you performance
> On the another hand when I run it on x-86 machine,in hardly takes few
> seconds to start.
yes. because for x86 you are able to use hotspot JVM
>
> Board supporting java:
> java version "1.7.0_25"
> OpenJDK Runtime Environment (IcedTea 2.3.12) (25b30-2.3.12)
> OpenJDK Zero VM (build 23.7-b01, interpreted mode)
>
> Java -version at x-86 is as follows..
> java -version
> java version "1.7.0_25"
> OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1ubuntu0.12.04.2)
> OpenJDK Server VM (build 23.7-b01, mixed mode)
>
> 2013-10-31 01:00:03.508 UTC [Start Level Event Dispatcher] INFO
> o.o.c.s.binding.impl.BrokerActivator - Binding Aware Broker initialized
> osgi> 2013-10-31 01:00:04.374 UTC [Start Level Event Dispatcher] INFO
> o.o.c.c.s.internal.
> ClusterManager - I'm a GossipRouter will listen on 1
> 2013-10-31 01:00:04.611 UTC [Start Level Event Dispatcher] INFO
> o.o.c.c.s.internal.ClusterManager - Started GossipRouter
> GossipRouter started at Thu Oct 31 01:00:04 UTC 2013
> Listening on port 12001 bound on address 0.0.0.0/0.0.0.0
> Backlog is 1000, linger timeout is 2000, and read timeout is 0
> 2013-10-31 01:00:04.612 UTC [Start Level Event Dispatcher] INFO
> o.o.c.c.s.internal.ClusterManager - Starting the ClusterManager
> 2013-10-31 01:00:13.639 UTC [Start Level Event Dispatcher] INFO
> o.o.c.c.i.ConfigurationService - ConfigurationService Manager init
> 2013-10-31 01:00:15.782 UTC [Start Level Event Dispatcher] INFO
> o.o.c.n.i.osgi.NetconfImplActivator - Starting TCP netconf server at
> /127.0.3
> Oct 31, 2013 1:00:17 AM org.apache.catalina.core.AprLifecycleListener init
> INFO: The APR based Apache Tomcat Native library which allows optimal
> performance in production environments was not found on the java.librarb
> Oct 31, 2013 1:00:22 AM org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["http-bio-8080"]
> Oct 31, 2013 1:00:23 AM
> org.apache.catalina.mbeans.GlobalResourcesLifecycleListener createMBeans
> SEVERE: No global naming context defined for server
> Oct 31, 2013 1:00:23 AM org.apache.catalina.core.StandardService
> startInternal
> INFO: Starting service Catalina
> Oct 31, 2013 1:00:23 AM org.apache.catalina.core.StandardEngine
> startInternal
> INFO: Starting Servlet Engine: Apache Tomcat/7.0.32
> Oct 31, 2013 1:00:23 AM org.apache.coyote.AbstractProtocol start
> INFO: Starting ProtocolHandler ["http-bio-8080"]
> 2013-10-31 01:01:46.580 UTC [ConfigPersister-registrator] INFO
> o.o.c.n.p.i.ConfigPersisterNotificationHandler - Session id received from
> net1
> 2013-10-31 01:01:46.587 UTC [ConfigPersister-registrator] INFO
> o.o.c.n.p.i.ConfigPersisterNotificationHandler - No last config provided by
> b]
> Oct 31, 2013 1:02:08 AM org.apache.catalina.core.ApplicationContext log
> INFO: No Spring WebApplicationInitializer types detected on classpath
> Oct 31, 2013 1:02:09 AM org.apache.catalina.core.ApplicationContext log
> INFO: Initializing Spring FrameworkServlet 'Flows'
> Oct 31, 2013 1:02:35 AM
> com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
> INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31
> PM'
> Oct 31, 2013 1:02:35 AM
> com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder
> <init>
> INFO: Instantiated the Application class
> org.opendaylight.controller.northbound.commons.NorthboundApplication
> Oct 31, 2013 1:02:52 AM
> com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
> INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31
> PM'
> Oct 31, 2013 1:02:52 AM
> com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder
> <init>
> INFO: Instantiated the Application class
> org.opendaylight.controller.northbound.commons.NorthboundApplication
> Oct 31, 2013 1:03:22 AM org.apache.catalina.core.ApplicationContext log
> INFO: No Spring WebApplicationInitializer types detected on classpath
> Oct 31, 2013 1:03:23 AM org.apache.catalina.core.ApplicationContext log
> INFO: Initializing Spring FrameworkServlet 'RootGUI'
> Oct 31, 2013 1:03:44 AM org.apache.catalina.core.ApplicationContext log
> INFO: No Spring WebApplicationInitializer types detected on classpath
> Oct 31, 2013 1:03:44 AM org.apache.catalina.core.ApplicationContext log
> INFO: Initializing Spring FrameworkServlet 'Devices'
> Oct 31, 2013 1:04:01 AM
> com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
> INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31
> PM'
> Oct 31, 2013 1:04:01 AM
> com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder
> <init>
> INFO: Instantiated the Application class
> org.opendaylight.controller.northbound.commons.NorthboundApplication
> Oct 31, 2013 1:04:17 AM
> com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
> INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31
> PM'
> Oct 31, 2013 1:04:17 AM
> com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder
> <init>
> INFO: Instantiated the Application class
> org.opendaylight.controller.northbound.commons.NorthboundApplication
> Oct 31, 2013 1:04:38 AM org.apache.catalina.core.ApplicationContext log
> INFO: No Spring WebApplicationInitializer types detected on classpath
> Oct 31, 2013 1:04:38 AM org.apache.catalina.core.ApplicationContext log
> INFO: Initializing Spring FrameworkServlet 'Troubleshoot'
> Oct 31, 2013 1:04:48 AM
> com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
> INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31
> PM'
> Oct 31, 2013 1:04:48 AM
> com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder
> <init>
> INFO: Instantiated the Application class
> org.opendaylight.controller.networkconfig.neutron.northbound.NeutronNorthboundRSApplication
> Oct 31, 2013 1:05:05 AM
> com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
> INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31
> PM'
> Oct 31, 2013 1:05:05 AM
> com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder
> <init>
> INFO: Instantiated the Application class
> org.opendaylight.controller.northbound.commons.NorthboundApplication
> Oct 31, 2013 1:05:21 AM
> com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
> INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31
> PM'
> Oct 31, 2013 1:05:21 AM
> com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder
> <init>
> INFO: Instantiated the Application class
> org.opendaylight.controller.northbound.commons.NorthboundApplication
> Oct 31, 2013 1:05:45 AM org.apache.catalina.core.ApplicationContext log
> INFO: No Spring WebApplicationInitializer types detected on classpath
> Oct 31, 2013 1:05:45 AM org.apache.catalina.core.ApplicationContext log
> INFO: Initializing Spring FrameworkServlet 'Topology'
> 2013-10-31 01:05:48.392 UTC [Start Level Event Dispatcher] INFO
> o.o.c.s.t.provider.ToasterProvider - Provider Session initialized
> Oct 31, 2013 1:06:03 AM
> com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
> INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31
> PM'
> Oct 31, 2013 1:06:03 AM
> com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder
> <init>
> INFO: Instantiated the Application class
> org.opendaylight.controller.northbound.commons.NorthboundApplication
> 2013-10-31 01:06:06.154 UTC [ControllerI/O Thread] INFO
> o.o.c.p.o.core.internal.ControllerIO - Controller is now listening on
> any:6633
> 2013-10-31 01:06:07.050 UTC [ControllerI/O Thread] INFO
> o.o.c.p.o.core.internal.Controller - Switch:192.168.6.123:56750 is connected
> to the r
> Oct 31, 2013 1:06:07 AM
> com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
> INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31
> PM'
> Oct 31, 2013 1:06:07 AM
> com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder
> <init>
> INFO: Instantiated the Application class
> org.opendaylight.controller.containermanager.northbound.ContainerManagerNorthboundRSApplication
> 2013-10-31 01:06:10.563 UTC [ControllerI/O Thread] INFO
> o.o.c.p.o.core.internal.Controller - Switch:192.168.6.137:52815 is connected
> to the r
> 2013-10-31 01:06:12.369 UTC [pool-13-thread-1] INFO
> o.o.c.f.i.ForwardingRulesManager - Forwarding mode for node
> OF|00:00:00:04:9f:02:a3:e3 se
> 2013-10-31 01:06:12.371 UTC [pool-13-thread-1] WARN
> o.o.c.f.i.ForwardingRulesManager - Failed to remove Proactive Static flow:
> __Punt ARP__
> 2013-10-31 01:06:12.372 UTC [pool-13-thread-1] WARN
> o.o.c.f.i.ForwardingRulesManager - Failed to remove Proactive Static flow:
> __Punt LLDP__
> 2013-10-31 01:06:12.373 UTC [pool-13-thread-1] WARN
> o.o.c.f.i.ForwardingRulesManager - Failed to remove Proactive Static flow:
> __Catch-All D_
> 2013-10-31 01:06:12.753 UTC [fileinstall-./plugins] INFO
> o.o.c.s.l.i.LoadBalancerService - Running container name:default
> 2013-10-31 01:06:12.756 UTC [fileinstall-./plugins] INFO
> o.o.c.s.l.i.LoadBalancerService - ConfigManager [vips={}, pools={}]
> Oct 31, 2013 1:06:20 AM
> com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
> INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31
> PM'
> Oct 31, 2013 1:06:20 AM
> com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder
> <init>
> INFO: Instantiated the Application class
> org.opendaylight.controller.northbound.commons.NorthboundApplication
> Oct 31, 2013 1:06:27 AM
> com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
> INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013 03:31
> PM'
> Oct 31, 2013 1:06:27 AM
> com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder
> <init>
> INFO: Instantiated the Application class
> org.opendaylight.controller.northbound.commons.NorthboundApplication.
>
> I have read that enabling shark would speed up the process. Please help in
> tackling the above issue
>
>
> Thanks
>
>
>
>
> On Thu, Oct 31, 2013 at 9:56 PM, Khem Raj <raj.khem@gmail.com> wrote:
>>
>> On Thu, Oct 31, 2013 at 8:08 AM, sonia verma <soniaverma9727@gmail.com>
>> wrote:
>> > Hi ALL,
>> >
>> > I have integrated Java in one of the board having Powerpc architecture
>> > using
>> > meta-java. By default it cam with Zero port support which only works in
>> > interpreter mode.
>> >
>> > I need to enable Shark support in that. Can any one please help me with
>> > the
>> > procedure to compile JAVA with Shark support.
>>
>> zero is the best option you have. Shark wont work on ppc.
>>
>> >
>> > --
>> > Regards
>> >
>> > Sonia Verma
>> >
>> >
>> > _______________________________________________
>> > yocto mailing list
>> > yocto@yoctoproject.org
>> > https://lists.yoctoproject.org/listinfo/yocto
>> >
>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: enable Shark support in JAVA
2013-10-31 17:05 ` Khem Raj
@ 2013-11-01 5:15 ` sonia verma
0 siblings, 0 replies; 10+ messages in thread
From: sonia verma @ 2013-11-01 5:15 UTC (permalink / raw)
To: Khem Raj; +Cc: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 12528 bytes --]
Hi khem
i am not able to find the link from where i can download "IBM's proprietary
JRE J9 for ppc" can you please provide me the link.
-----
Regards
Sonia Verma
On Thu, Oct 31, 2013 at 10:35 PM, Khem Raj <raj.khem@gmail.com> wrote:
> On Thu, Oct 31, 2013 at 9:56 AM, sonia verma <soniaverma9727@gmail.com>
> wrote:
> > Hi Khem
> >
> > Actually I'm runninng JAVA based Opendaylight controller on powerpc
> > architecture with zero ineterpreter mode and it takes about 10 min to
> start.
> >
>
> yes. I dont think there are much possibilities there. You can try
> IBM's proprietary JRE J9 for ppc and see
> if that works on FSL machine. That should get you performance
>
> > On the another hand when I run it on x-86 machine,in hardly takes few
> > seconds to start.
>
> yes. because for x86 you are able to use hotspot JVM
>
> >
> > Board supporting java:
> > java version "1.7.0_25"
> > OpenJDK Runtime Environment (IcedTea 2.3.12) (25b30-2.3.12)
> > OpenJDK Zero VM (build 23.7-b01, interpreted mode)
> >
> > Java -version at x-86 is as follows..
> > java -version
> > java version "1.7.0_25"
> > OpenJDK Runtime Environment (IcedTea 2.3.10)
> (7u25-2.3.10-1ubuntu0.12.04.2)
> > OpenJDK Server VM (build 23.7-b01, mixed mode)
> >
> > 2013-10-31 01:00:03.508 UTC [Start Level Event Dispatcher] INFO
> > o.o.c.s.binding.impl.BrokerActivator - Binding Aware Broker initialized
> > osgi> 2013-10-31 01:00:04.374 UTC [Start Level Event Dispatcher] INFO
> > o.o.c.c.s.internal.
> > ClusterManager - I'm a GossipRouter will listen on 1
> > 2013-10-31 01:00:04.611 UTC [Start Level Event Dispatcher] INFO
> > o.o.c.c.s.internal.ClusterManager - Started GossipRouter
> > GossipRouter started at Thu Oct 31 01:00:04 UTC 2013
> > Listening on port 12001 bound on address 0.0.0.0/0.0.0.0
> > Backlog is 1000, linger timeout is 2000, and read timeout is 0
> > 2013-10-31 01:00:04.612 UTC [Start Level Event Dispatcher] INFO
> > o.o.c.c.s.internal.ClusterManager - Starting the ClusterManager
> > 2013-10-31 01:00:13.639 UTC [Start Level Event Dispatcher] INFO
> > o.o.c.c.i.ConfigurationService - ConfigurationService Manager init
> > 2013-10-31 01:00:15.782 UTC [Start Level Event Dispatcher] INFO
> > o.o.c.n.i.osgi.NetconfImplActivator - Starting TCP netconf server at
> > /127.0.3
> > Oct 31, 2013 1:00:17 AM org.apache.catalina.core.AprLifecycleListener
> init
> > INFO: The APR based Apache Tomcat Native library which allows optimal
> > performance in production environments was not found on the java.librarb
> > Oct 31, 2013 1:00:22 AM org.apache.coyote.AbstractProtocol init
> > INFO: Initializing ProtocolHandler ["http-bio-8080"]
> > Oct 31, 2013 1:00:23 AM
> > org.apache.catalina.mbeans.GlobalResourcesLifecycleListener createMBeans
> > SEVERE: No global naming context defined for server
> > Oct 31, 2013 1:00:23 AM org.apache.catalina.core.StandardService
> > startInternal
> > INFO: Starting service Catalina
> > Oct 31, 2013 1:00:23 AM org.apache.catalina.core.StandardEngine
> > startInternal
> > INFO: Starting Servlet Engine: Apache Tomcat/7.0.32
> > Oct 31, 2013 1:00:23 AM org.apache.coyote.AbstractProtocol start
> > INFO: Starting ProtocolHandler ["http-bio-8080"]
> > 2013-10-31 01:01:46.580 UTC [ConfigPersister-registrator] INFO
> > o.o.c.n.p.i.ConfigPersisterNotificationHandler - Session id received from
> > net1
> > 2013-10-31 01:01:46.587 UTC [ConfigPersister-registrator] INFO
> > o.o.c.n.p.i.ConfigPersisterNotificationHandler - No last config provided
> by
> > b]
> > Oct 31, 2013 1:02:08 AM org.apache.catalina.core.ApplicationContext log
> > INFO: No Spring WebApplicationInitializer types detected on classpath
> > Oct 31, 2013 1:02:09 AM org.apache.catalina.core.ApplicationContext log
> > INFO: Initializing Spring FrameworkServlet 'Flows'
> > Oct 31, 2013 1:02:35 AM
> > com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
> > INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013
> 03:31
> > PM'
> > Oct 31, 2013 1:02:35 AM
> >
> com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder
> > <init>
> > INFO: Instantiated the Application class
> > org.opendaylight.controller.northbound.commons.NorthboundApplication
> > Oct 31, 2013 1:02:52 AM
> > com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
> > INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013
> 03:31
> > PM'
> > Oct 31, 2013 1:02:52 AM
> >
> com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder
> > <init>
> > INFO: Instantiated the Application class
> > org.opendaylight.controller.northbound.commons.NorthboundApplication
> > Oct 31, 2013 1:03:22 AM org.apache.catalina.core.ApplicationContext log
> > INFO: No Spring WebApplicationInitializer types detected on classpath
> > Oct 31, 2013 1:03:23 AM org.apache.catalina.core.ApplicationContext log
> > INFO: Initializing Spring FrameworkServlet 'RootGUI'
> > Oct 31, 2013 1:03:44 AM org.apache.catalina.core.ApplicationContext log
> > INFO: No Spring WebApplicationInitializer types detected on classpath
> > Oct 31, 2013 1:03:44 AM org.apache.catalina.core.ApplicationContext log
> > INFO: Initializing Spring FrameworkServlet 'Devices'
> > Oct 31, 2013 1:04:01 AM
> > com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
> > INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013
> 03:31
> > PM'
> > Oct 31, 2013 1:04:01 AM
> >
> com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder
> > <init>
> > INFO: Instantiated the Application class
> > org.opendaylight.controller.northbound.commons.NorthboundApplication
> > Oct 31, 2013 1:04:17 AM
> > com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
> > INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013
> 03:31
> > PM'
> > Oct 31, 2013 1:04:17 AM
> >
> com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder
> > <init>
> > INFO: Instantiated the Application class
> > org.opendaylight.controller.northbound.commons.NorthboundApplication
> > Oct 31, 2013 1:04:38 AM org.apache.catalina.core.ApplicationContext log
> > INFO: No Spring WebApplicationInitializer types detected on classpath
> > Oct 31, 2013 1:04:38 AM org.apache.catalina.core.ApplicationContext log
> > INFO: Initializing Spring FrameworkServlet 'Troubleshoot'
> > Oct 31, 2013 1:04:48 AM
> > com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
> > INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013
> 03:31
> > PM'
> > Oct 31, 2013 1:04:48 AM
> >
> com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder
> > <init>
> > INFO: Instantiated the Application class
> >
> org.opendaylight.controller.networkconfig.neutron.northbound.NeutronNorthboundRSApplication
> > Oct 31, 2013 1:05:05 AM
> > com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
> > INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013
> 03:31
> > PM'
> > Oct 31, 2013 1:05:05 AM
> >
> com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder
> > <init>
> > INFO: Instantiated the Application class
> > org.opendaylight.controller.northbound.commons.NorthboundApplication
> > Oct 31, 2013 1:05:21 AM
> > com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
> > INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013
> 03:31
> > PM'
> > Oct 31, 2013 1:05:21 AM
> >
> com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder
> > <init>
> > INFO: Instantiated the Application class
> > org.opendaylight.controller.northbound.commons.NorthboundApplication
> > Oct 31, 2013 1:05:45 AM org.apache.catalina.core.ApplicationContext log
> > INFO: No Spring WebApplicationInitializer types detected on classpath
> > Oct 31, 2013 1:05:45 AM org.apache.catalina.core.ApplicationContext log
> > INFO: Initializing Spring FrameworkServlet 'Topology'
> > 2013-10-31 01:05:48.392 UTC [Start Level Event Dispatcher] INFO
> > o.o.c.s.t.provider.ToasterProvider - Provider Session initialized
> > Oct 31, 2013 1:06:03 AM
> > com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
> > INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013
> 03:31
> > PM'
> > Oct 31, 2013 1:06:03 AM
> >
> com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder
> > <init>
> > INFO: Instantiated the Application class
> > org.opendaylight.controller.northbound.commons.NorthboundApplication
> > 2013-10-31 01:06:06.154 UTC [ControllerI/O Thread] INFO
> > o.o.c.p.o.core.internal.ControllerIO - Controller is now listening on
> > any:6633
> > 2013-10-31 01:06:07.050 UTC [ControllerI/O Thread] INFO
> > o.o.c.p.o.core.internal.Controller - Switch:192.168.6.123:56750 is
> connected
> > to the r
> > Oct 31, 2013 1:06:07 AM
> > com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
> > INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013
> 03:31
> > PM'
> > Oct 31, 2013 1:06:07 AM
> >
> com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder
> > <init>
> > INFO: Instantiated the Application class
> >
> org.opendaylight.controller.containermanager.northbound.ContainerManagerNorthboundRSApplication
> > 2013-10-31 01:06:10.563 UTC [ControllerI/O Thread] INFO
> > o.o.c.p.o.core.internal.Controller - Switch:192.168.6.137:52815 is
> connected
> > to the r
> > 2013-10-31 01:06:12.369 UTC [pool-13-thread-1] INFO
> > o.o.c.f.i.ForwardingRulesManager - Forwarding mode for node
> > OF|00:00:00:04:9f:02:a3:e3 se
> > 2013-10-31 01:06:12.371 UTC [pool-13-thread-1] WARN
> > o.o.c.f.i.ForwardingRulesManager - Failed to remove Proactive Static
> flow:
> > __Punt ARP__
> > 2013-10-31 01:06:12.372 UTC [pool-13-thread-1] WARN
> > o.o.c.f.i.ForwardingRulesManager - Failed to remove Proactive Static
> flow:
> > __Punt LLDP__
> > 2013-10-31 01:06:12.373 UTC [pool-13-thread-1] WARN
> > o.o.c.f.i.ForwardingRulesManager - Failed to remove Proactive Static
> flow:
> > __Catch-All D_
> > 2013-10-31 01:06:12.753 UTC [fileinstall-./plugins] INFO
> > o.o.c.s.l.i.LoadBalancerService - Running container name:default
> > 2013-10-31 01:06:12.756 UTC [fileinstall-./plugins] INFO
> > o.o.c.s.l.i.LoadBalancerService - ConfigManager [vips={}, pools={}]
> > Oct 31, 2013 1:06:20 AM
> > com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
> > INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013
> 03:31
> > PM'
> > Oct 31, 2013 1:06:20 AM
> >
> com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder
> > <init>
> > INFO: Instantiated the Application class
> > org.opendaylight.controller.northbound.commons.NorthboundApplication
> > Oct 31, 2013 1:06:27 AM
> > com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
> > INFO: Initiating Jersey application, version 'Jersey: 1.17 01/17/2013
> 03:31
> > PM'
> > Oct 31, 2013 1:06:27 AM
> >
> com.sun.jersey.server.impl.application.DeferredResourceConfig$ApplicationHolder
> > <init>
> > INFO: Instantiated the Application class
> > org.opendaylight.controller.northbound.commons.NorthboundApplication.
> >
> > I have read that enabling shark would speed up the process. Please help
> in
> > tackling the above issue
> >
> >
> > Thanks
> >
> >
> >
> >
> > On Thu, Oct 31, 2013 at 9:56 PM, Khem Raj <raj.khem@gmail.com> wrote:
> >>
> >> On Thu, Oct 31, 2013 at 8:08 AM, sonia verma <soniaverma9727@gmail.com>
> >> wrote:
> >> > Hi ALL,
> >> >
> >> > I have integrated Java in one of the board having Powerpc architecture
> >> > using
> >> > meta-java. By default it cam with Zero port support which only works
> in
> >> > interpreter mode.
> >> >
> >> > I need to enable Shark support in that. Can any one please help me
> with
> >> > the
> >> > procedure to compile JAVA with Shark support.
> >>
> >> zero is the best option you have. Shark wont work on ppc.
> >>
> >> >
> >> > --
> >> > Regards
> >> >
> >> > Sonia Verma
> >> >
> >> >
> >> > _______________________________________________
> >> > yocto mailing list
> >> > yocto@yoctoproject.org
> >> > https://lists.yoctoproject.org/listinfo/yocto
> >> >
> >
> >
>
[-- Attachment #2: Type: text/html, Size: 14949 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: enable Shark support in JAVA
2013-10-31 15:10 ` sonia verma
@ 2013-11-03 17:59 ` Andrew Haley
2013-11-08 6:43 ` sonia verma
0 siblings, 1 reply; 10+ messages in thread
From: Andrew Haley @ 2013-11-03 17:59 UTC (permalink / raw)
To: sonia verma; +Cc: yocto, zero-dev
On 10/31/2013 03:10 PM, sonia verma wrote:
> adding zero-dev in loop.
>
>
> On Thu, Oct 31, 2013 at 8:38 PM, sonia verma <soniaverma9727@gmail.com>wrote:
>
>> Hi ALL,
>>
>> I have integrated Java in one of the board having Powerpc architecture
>> using meta-java. By default it cam with Zero port support which only works
>> in interpreter mode.
>>
>> I need to enable Shark support in that. Can any one please help me with
>> the procedure to compile JAVA with Shark support.
Well, what help do you need? You're going to have to find LLVM
for PowerPC and start doing some integration work.
Andrew.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: enable Shark support in JAVA
2013-11-03 17:59 ` Andrew Haley
@ 2013-11-08 6:43 ` sonia verma
2013-11-08 8:34 ` enable Shark support in JAVA + list of alternative JVM for use in combination with OpenJDK on PowerPC Xerxes Rånby
0 siblings, 1 reply; 10+ messages in thread
From: sonia verma @ 2013-11-08 6:43 UTC (permalink / raw)
To: Andrew Haley; +Cc: yocto@yoctoproject.org, zero-dev
[-- Attachment #1: Type: text/plain, Size: 935 bytes --]
Hi Andrew
I am not able find LLVM compiler for PowerPc.Due to this I'm not able to
integrate JAVA in compiler mode on PowerPc board.
Can you suggest any alternative for that.
On Sun, Nov 3, 2013 at 11:29 PM, Andrew Haley <aph@redhat.com> wrote:
> On 10/31/2013 03:10 PM, sonia verma wrote:
> > adding zero-dev in loop.
> >
> >
> > On Thu, Oct 31, 2013 at 8:38 PM, sonia verma <soniaverma9727@gmail.com
> >wrote:
> >
> >> Hi ALL,
> >>
> >> I have integrated Java in one of the board having Powerpc architecture
> >> using meta-java. By default it cam with Zero port support which only
> works
> >> in interpreter mode.
> >>
> >> I need to enable Shark support in that. Can any one please help me with
> >> the procedure to compile JAVA with Shark support.
>
> Well, what help do you need? You're going to have to find LLVM
> for PowerPC and start doing some integration work.
>
> Andrew.
>
>
>
[-- Attachment #2: Type: text/html, Size: 1537 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: enable Shark support in JAVA + list of alternative JVM for use in combination with OpenJDK on PowerPC
2013-11-08 6:43 ` sonia verma
@ 2013-11-08 8:34 ` Xerxes Rånby
2013-11-08 18:39 ` Khem Raj
0 siblings, 1 reply; 10+ messages in thread
From: Xerxes Rånby @ 2013-11-08 8:34 UTC (permalink / raw)
To: sonia verma, Andrew Haley; +Cc: yocto@yoctoproject.org, zero-dev
Hi Sonia
2013-11-08 07:43, sonia verma wrote:
> I am not able find LLVM compiler for PowerPc.Due to this I'm not able to integrate JAVA in compiler mode on PowerPc board.
If you still want to test Shark you need to first build and test LLVM on powerpc.
http://llvm.org/
It is wise to build and test LLVM manually on a PowerPC gnu/linux system before you spend time to update meta-java and oe to cross compile it.
By running the llvm testsuite you will know if the jit work or not on powerpc.
After you have made llvm pass its tests then try build openjdk + shark manually on a powerpc system.
The last known build of shark was made about a year ago buy Roman Kenkke
http://rkennke.wordpress.com/2012/11/28/the-return-of-the-shark-part-ii-howto/
Roman only tested shark on x86 thus it is expected that you will find things that needs to get fixed before the port work on powerpc again.
The last known test builds of shark for powerpc was made around 2010 and both openjdk, llvm and the shark jvm code have changed since then.
> Can you suggest any alternative for that.
There is a PowerPC Hotspot JVM available for use with OpenJDK maintained by the ppc-aix-port (it also work on linux!), it includes a mixed-mode VM (with the C++ Interpreter and the C2 "Server" JIT compiler).
http://openjdk.java.net/projects/ppc-aix-port/
https://wiki.openjdk.java.net/pages/viewpage.action?pageId=13041681
I recommend you to update meta-java to build this port for use on PowerPC.
This is the most actively maintained OpenJDK PowerPC port.
You may also want to take a look at using the JamVM, CACAO JVM or Avian on PowerPC.
These JVM's are maintained outside the OpenJDK community, they are created to enable Java to run on various embedded and mobile platforms and are all designed to work in combination with the OpenJDK runtime classes.
You can compile JamVM, Cacao or Avian into a libjvm.so that can replace the Zero libjvm.so to be used by your current OpenJDK build.
They all give a magnitude better performance compared to using Zero.
JamVM source & build instructions:
http://git.berlios.de/cgi-bin/cgit.cgi/jamvm/
http://draenog.blogspot.se/2011/02/openjdkjamvm-git-repository.html
JamVM is easy to compile and test. I have tested JamVM a lot and I find it stable for use by many different use-cases.
JamVM is carefully designed to correctly execute non-trivial java code that make heavy use of reflection. JamVM also implements the new invoke dynamic bytecode JSR292 used by OpenJDK 7 & 8 and later.
JamVM implements state of the art interpreter optimization techniques written in portable c, if you study JamVM source-code you will notice how the various interpreter optimizations all combine to implement a code copying JIT.
CACAO JVM source & build instructions:
http://www.cacaojvm.org/
CACAO implements a compile-only JIT.
CACAO is a research JVM maintained by the university of Vienna.
http://c1.complang.tuwien.ac.at/cacaowiki/ResearchTopics
http://c1.complang.tuwien.ac.at/cacaowiki/StateOfArchitectures - CACAO will require work into JMM barriers before this JVM can be used reliably on multi-core PowerPC systems.
Avian source & build instructions:
http://oss.readytalk.com/avian/
http://oss.readytalk.com/avian/examples.html
Avian fills a special niche where you can bundle the JVM with your application and only include a subset of the OpenJDK runtime classes needed create a standalone executable under 1mb of size.
Cheers
Xerxes
> On Sun, Nov 3, 2013 at 11:29 PM, Andrew Haley <aph@redhat.com <mailto:aph@redhat.com>> wrote:
>
> On 10/31/2013 03:10 PM, sonia verma wrote:
> > adding zero-dev in loop.
> >
> >
> > On Thu, Oct 31, 2013 at 8:38 PM, sonia verma <soniaverma9727@gmail.com <mailto:soniaverma9727@gmail.com>>wrote:
> >
> >> Hi ALL,
> >>
> >> I have integrated Java in one of the board having Powerpc architecture
> >> using meta-java. By default it cam with Zero port support which only works
> >> in interpreter mode.
> >>
> >> I need to enable Shark support in that. Can any one please help me with
> >> the procedure to compile JAVA with Shark support.
>
> Well, what help do you need? You're going to have to find LLVM
> for PowerPC and start doing some integration work.
>
> Andrew.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: enable Shark support in JAVA + list of alternative JVM for use in combination with OpenJDK on PowerPC
2013-11-08 8:34 ` enable Shark support in JAVA + list of alternative JVM for use in combination with OpenJDK on PowerPC Xerxes Rånby
@ 2013-11-08 18:39 ` Khem Raj
0 siblings, 0 replies; 10+ messages in thread
From: Khem Raj @ 2013-11-08 18:39 UTC (permalink / raw)
To: Xerxes Rånby
Cc: Andrew Haley, sonia verma, zero-dev, yocto@yoctoproject.org
On Fri, Nov 8, 2013 at 12:34 AM, Xerxes Rånby <xerxes@zafena.se> wrote:
> There is a PowerPC Hotspot JVM available for use with OpenJDK maintained by the ppc-aix-port (it also work on linux!), it includes a mixed-mode VM (with the C++ Interpreter and the C2 "Server" JIT compiler).
> http://openjdk.java.net/projects/ppc-aix-port/
> https://wiki.openjdk.java.net/pages/viewpage.action?pageId=13041681
> I recommend you to update meta-java to build this port for use on PowerPC.
> This is the most actively maintained OpenJDK PowerPC port.
has anyone tested it on FreeScale PPC platforms. I am sure it will
work fine on IBM ppc platforms.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2013-11-08 18:40 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-31 15:08 enable Shark support in JAVA sonia verma
2013-10-31 15:10 ` sonia verma
2013-11-03 17:59 ` Andrew Haley
2013-11-08 6:43 ` sonia verma
2013-11-08 8:34 ` enable Shark support in JAVA + list of alternative JVM for use in combination with OpenJDK on PowerPC Xerxes Rånby
2013-11-08 18:39 ` Khem Raj
2013-10-31 16:26 ` enable Shark support in JAVA Khem Raj
2013-10-31 16:56 ` sonia verma
2013-10-31 17:05 ` Khem Raj
2013-11-01 5:15 ` sonia verma
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.