<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: jvm hangs on itanium in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/jvm-hangs-on-itanium/m-p/2997950#M718592</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This is the trace I get.&lt;BR /&gt;&lt;BR /&gt;#0  0x2000000078895cb0:0 in kill+0x30 () from /usr/lib/hpux32/libc.so.1&lt;BR /&gt;#1  0x2000000078793f00:0 in raise+0x40 () from /usr/lib/hpux32/libc.so.1&lt;BR /&gt;#2  0x2000000078858550:0 in abort+0x210 () from /usr/lib/hpux32/libc.so.1&lt;BR /&gt;#3  0x200000007894a450:0 in std::terminate+0x50 ()&lt;BR /&gt;   from /usr/lib/hpux32/libCsup.so.1&lt;BR /&gt;#4  0x20000000789436d0:0 in __cxa_throw+0x130 ()&lt;BR /&gt;   from /usr/lib/hpux32/libCsup.so.1&lt;BR /&gt;#5  0x2000000078ae22e0:0 in std::ios_base::setf+0xe0 ()&lt;BR /&gt;   from /usr/lib/hpux32/libstd_v2.so.1&lt;BR /&gt;#6  0x2000000078adf960:0 in std::ios_base::Init::Init+0x1c70 ()&lt;BR /&gt;   from /usr/lib/hpux32/libstd_v2.so.1&lt;BR /&gt;#7  0x6f5cb50:0 in NamedNodeMapImpl::cloneContent+0x5d0 ()&lt;BR /&gt;&lt;BR /&gt;TIA&lt;BR /&gt;satya&lt;BR /&gt;</description>
    <pubDate>Tue, 17 Jun 2003 08:45:40 GMT</pubDate>
    <dc:creator>Satya_6</dc:creator>
    <dc:date>2003-06-17T08:45:40Z</dc:date>
    <item>
      <title>jvm hangs on itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/jvm-hangs-on-itanium/m-p/2997948#M718590</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have got a JNI application, but it hangs on Jvm initialisation on Itanium processor system.&lt;BR /&gt;&lt;BR /&gt;The problem looks to be in the pthead, in the debugger I can see that it just waits in pthread_cond_wait func. &lt;BR /&gt;&lt;BR /&gt;I am linking the following libraries in the given order.&lt;BR /&gt;&lt;BR /&gt;-lc -lGLU -lGL -lMrm -lXm -lXt -lXext -lXmu -lX11 -lm -lpthread -lhpi -ljvm&lt;BR /&gt;&lt;BR /&gt;If I don't link the libc library the application gets kiled with SIGABRT and if I link it, it comes in way of pthread library,&lt;BR /&gt;&lt;BR /&gt;anu help would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;TIA&lt;BR /&gt;satya&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Jun 2003 05:14:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/jvm-hangs-on-itanium/m-p/2997948#M718590</guid>
      <dc:creator>Satya_6</dc:creator>
      <dc:date>2003-06-16T05:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: jvm hangs on itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/jvm-hangs-on-itanium/m-p/2997949#M718591</link>
      <description>You should not be linking -lc before -lpthread.  It forces the use of stub pthread routines from libc.  Leave off -lc and link with cc or aCC so libc is implicitly linked at the end of the link list.&lt;BR /&gt;  Then start working on why you get a SIGABRT. ;-)&lt;BR /&gt;Do you have a stack trace for the SIGABRT?&lt;BR /&gt;Did dld.so complain about missing symbols?</description>
      <pubDate>Mon, 16 Jun 2003 20:23:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/jvm-hangs-on-itanium/m-p/2997949#M718591</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2003-06-16T20:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: jvm hangs on itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/jvm-hangs-on-itanium/m-p/2997950#M718592</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This is the trace I get.&lt;BR /&gt;&lt;BR /&gt;#0  0x2000000078895cb0:0 in kill+0x30 () from /usr/lib/hpux32/libc.so.1&lt;BR /&gt;#1  0x2000000078793f00:0 in raise+0x40 () from /usr/lib/hpux32/libc.so.1&lt;BR /&gt;#2  0x2000000078858550:0 in abort+0x210 () from /usr/lib/hpux32/libc.so.1&lt;BR /&gt;#3  0x200000007894a450:0 in std::terminate+0x50 ()&lt;BR /&gt;   from /usr/lib/hpux32/libCsup.so.1&lt;BR /&gt;#4  0x20000000789436d0:0 in __cxa_throw+0x130 ()&lt;BR /&gt;   from /usr/lib/hpux32/libCsup.so.1&lt;BR /&gt;#5  0x2000000078ae22e0:0 in std::ios_base::setf+0xe0 ()&lt;BR /&gt;   from /usr/lib/hpux32/libstd_v2.so.1&lt;BR /&gt;#6  0x2000000078adf960:0 in std::ios_base::Init::Init+0x1c70 ()&lt;BR /&gt;   from /usr/lib/hpux32/libstd_v2.so.1&lt;BR /&gt;#7  0x6f5cb50:0 in NamedNodeMapImpl::cloneContent+0x5d0 ()&lt;BR /&gt;&lt;BR /&gt;TIA&lt;BR /&gt;satya&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Jun 2003 08:45:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/jvm-hangs-on-itanium/m-p/2997950#M718592</guid>
      <dc:creator>Satya_6</dc:creator>
      <dc:date>2003-06-17T08:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: jvm hangs on itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/jvm-hangs-on-itanium/m-p/2997951#M718593</link>
      <description>The stack trace shows that your program was linked with libstd_v2.so, meaning that it was linked by aCC with the default -AA mode.  The java libjvm.so is linked with libstd.so, meaning that it was linked with aCC with the -AP option.  The aCC -AA and aCC -AP modes can't be mixed in one program.  To use java JNI you will need to compile your C++ code with aCC -AP and link your program with aCC -AP.  That means that the iostream API will use the unnamed namespace instead of the std namespace.</description>
      <pubDate>Tue, 17 Jun 2003 14:24:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/jvm-hangs-on-itanium/m-p/2997951#M718593</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2003-06-17T14:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: jvm hangs on itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/jvm-hangs-on-itanium/m-p/2997952#M718594</link>
      <description>Hi Mike,&lt;BR /&gt;&lt;BR /&gt;That solved the problem. Thank you very much.&lt;BR /&gt;&lt;BR /&gt;I am facing a problem with the executable created on HP-UX B.11.11 (9000/785) PA_RISC2.0 The executable runs very slow on a m/c with itanium processor (HP-UX B.11.22). It is almost 3 to 4 times slower when run on the itanium m/c.&lt;BR /&gt;&lt;BR /&gt;(Actually I am compiling the files using /opt/ansic/bin/cc and creating static .a libs and linking using aCC (version HP ANSI C++ B3910B A.03.30). I am compiling some xml parser stuff in aCC)&lt;BR /&gt;&lt;BR /&gt;I am using the following compiler option.&lt;BR /&gt;&lt;BR /&gt;to compile: &lt;BR /&gt;-Aa -Ae +Z -O  +Oprocelim +Ofastaccess +Oaggressive&lt;BR /&gt;&lt;BR /&gt;to link: (for aCC)&lt;BR /&gt;+eh +Z -z&lt;BR /&gt;&lt;BR /&gt;I am linking the following libraries&lt;BR /&gt;&lt;BR /&gt;-lGL -lGLU -lXm -lXt -lXext -lXmu -lX11 -lm&lt;BR /&gt;(Removed the -lc after your suggestion here also)&lt;BR /&gt;&lt;BR /&gt;This would help in having only one executable for both PA-RISC2.0 and itanium m/c.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;TIA&lt;BR /&gt;satya&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Jun 2003 09:27:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/jvm-hangs-on-itanium/m-p/2997952#M718594</guid>
      <dc:creator>Satya_6</dc:creator>
      <dc:date>2003-06-19T09:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: jvm hangs on itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/jvm-hangs-on-itanium/m-p/2997953#M718595</link>
      <description>You won't get good performance out of a PA-RISC executable on and Itanium system.  Such programs are run by the exec call wrapping them with aries library.  Aries interprets PA-RISC instructions.  It eventually translates frequently executed instructions into native Itanium code equivalents.  That won't perform as well as code compiled for Itanium.&lt;BR /&gt;&lt;BR /&gt;  The java jvm is a wild thing to run under aries.  The hotspot jvm is interpreting java bytecode.  It eventually translates hot routines to PA-RISC instructions.  If those instructions are executed often enough they may&lt;BR /&gt;be translated to Itanium instructions.  The layers of interpretation and translation get rather dizzying to contemplate.&lt;BR /&gt;&lt;BR /&gt;  If your program actually spends much of its time calling OpenGL, then you definitely would want to make effective use of display lists.  If you can put together a big image as a tree of display lists, then one glCallList function could hand off all that work to the X server.  The X server, (and its ogld helper process), are native IPF code on an Itanium based system.  They can run at full speed.</description>
      <pubDate>Thu, 19 Jun 2003 15:57:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/jvm-hangs-on-itanium/m-p/2997953#M718595</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2003-06-19T15:57:27Z</dc:date>
    </item>
  </channel>
</rss>

