- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: jvm hangs on itanium
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2003 10:14 PM
06-15-2003 10:14 PM
I have got a JNI application, but it hangs on Jvm initialisation on Itanium processor system.
The problem looks to be in the pthead, in the debugger I can see that it just waits in pthread_cond_wait func.
I am linking the following libraries in the given order.
-lc -lGLU -lGL -lMrm -lXm -lXt -lXext -lXmu -lX11 -lm -lpthread -lhpi -ljvm
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,
anu help would be greatly appreciated.
TIA
satya
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2003 01:23 PM
06-16-2003 01:23 PM
Re: jvm hangs on itanium
Then start working on why you get a SIGABRT. ;-)
Do you have a stack trace for the SIGABRT?
Did dld.so complain about missing symbols?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 01:45 AM
06-17-2003 01:45 AM
Re: jvm hangs on itanium
This is the trace I get.
#0 0x2000000078895cb0:0 in kill+0x30 () from /usr/lib/hpux32/libc.so.1
#1 0x2000000078793f00:0 in raise+0x40 () from /usr/lib/hpux32/libc.so.1
#2 0x2000000078858550:0 in abort+0x210 () from /usr/lib/hpux32/libc.so.1
#3 0x200000007894a450:0 in std::terminate+0x50 ()
from /usr/lib/hpux32/libCsup.so.1
#4 0x20000000789436d0:0 in __cxa_throw+0x130 ()
from /usr/lib/hpux32/libCsup.so.1
#5 0x2000000078ae22e0:0 in std::ios_base::setf+0xe0 ()
from /usr/lib/hpux32/libstd_v2.so.1
#6 0x2000000078adf960:0 in std::ios_base::Init::Init+0x1c70 ()
from /usr/lib/hpux32/libstd_v2.so.1
#7 0x6f5cb50:0 in NamedNodeMapImpl::cloneContent+0x5d0 ()
TIA
satya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 07:24 AM
06-17-2003 07:24 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 02:27 AM
06-19-2003 02:27 AM
Re: jvm hangs on itanium
That solved the problem. Thank you very much.
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.
(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)
I am using the following compiler option.
to compile:
-Aa -Ae +Z -O +Oprocelim +Ofastaccess +Oaggressive
to link: (for aCC)
+eh +Z -z
I am linking the following libraries
-lGL -lGLU -lXm -lXt -lXext -lXmu -lX11 -lm
(Removed the -lc after your suggestion here also)
This would help in having only one executable for both PA-RISC2.0 and itanium m/c.
TIA
satya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 08:57 AM
06-19-2003 08:57 AM
Re: jvm hangs on itanium
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
be translated to Itanium instructions. The layers of interpretation and translation get rather dizzying to contemplate.
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.