<?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: hotspot vs. classic and JNI? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hotspot-vs-classic-and-jni/m-p/2641503#M722855</link>
    <description>Tyler,&lt;BR /&gt;&lt;BR /&gt;If you're still having this problem:&lt;BR /&gt;&lt;BR /&gt;1) Do you have patch PHSS_24303 installed?  This (and some earlier versions of it, since PHSS_22514) address a problem that was noted in the 1.3.0.x Hotspot (= Server) JVMs due to their implementation.  The release notes for 1.3.1.x are not clear as to whether or not the same issue still exits in that line of the HP JRE, as far as I saw...&lt;BR /&gt;&lt;BR /&gt;If you don't have this patch, you might want to try installing it (plus any dependencies), then read the updated man page on "dld.sl" for the LD_PRELOAD feature.  (It's really an environment variable that needs to be set appopriately before the affected library can be loaded).&lt;BR /&gt;&lt;BR /&gt;2) Try upgrading to 1.3.1.02.  In the release notes for this version, there are a few problem fixes with things like "spin lock problem" in the brief description.&lt;BR /&gt;&lt;BR /&gt;Good luck -&lt;BR /&gt;- Chris</description>
    <pubDate>Thu, 24 Jan 2002 22:15:38 GMT</pubDate>
    <dc:creator>Chris De Angelis</dc:creator>
    <dc:date>2002-01-24T22:15:38Z</dc:date>
    <item>
      <title>hotspot vs. classic and JNI?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hotspot-vs-classic-and-jni/m-p/2641500#M722852</link>
      <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;I'm working on a C application that ends up starting a JVM.  Everything was working fine, except we noticed that it was linking against the Classic VM rather than the Hotspot VM:&lt;BR /&gt;&lt;BR /&gt;jre1.3.1/lib/PA_RISC/classic&lt;BR /&gt;&lt;BR /&gt;Instead of&lt;BR /&gt;&lt;BR /&gt;jre1.3.1/lib/PA_RISC/server&lt;BR /&gt;&lt;BR /&gt;(This is the 1.3.1.01 release on HPUX 11.11)&lt;BR /&gt;&lt;BR /&gt;So, when I changed the Makefile to reference the server directory, it built just fine, but...&lt;BR /&gt;&lt;BR /&gt;When I run the executable, nothing happens.  It just hangs.  I can run it in the debugger, and it never even gets to main -- appears as though there might be a problem with the shared library loader.&lt;BR /&gt;&lt;BR /&gt;chatr shows:&lt;BR /&gt;&lt;BR /&gt;dynamic   /java/jdk1.3.1.01/11.0HPUX_PA32/jre/lib/PA_RISC/libzip.sl&lt;BR /&gt;dynamic   /java/jdk1.3.1.01/11.0HPUX_PA32/jre/lib/PA_RISC/libnet.sl&lt;BR /&gt;dynamic   /java/jdk1.3.1.01/11.0HPUX_PA32/jre/lib/PA_RISC/server/libjvm.sl&lt;BR /&gt;&lt;BR /&gt;Which looks just fine to me...&lt;BR /&gt;&lt;BR /&gt;Any thoughts?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;&lt;BR /&gt;Tyler&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Jan 2002 16:24:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hotspot-vs-classic-and-jni/m-p/2641500#M722852</guid>
      <dc:creator>Tyler Peterson</dc:creator>
      <dc:date>2002-01-09T16:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: hotspot vs. classic and JNI?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hotspot-vs-classic-and-jni/m-p/2641501#M722853</link>
      <description>Is SHLIB_PATH set correctly?  I've noticed that the libnet.sl and libzip.sl libraries are linked with the classic libjvm.sl:&lt;BR /&gt;&lt;BR /&gt;dynamic   ../../lib/PA_RISC/classic/libjvm.sl&lt;BR /&gt;&lt;BR /&gt;So if SHLIB_PATH doesn't include the hotspot directory there might be a conflict.&lt;BR /&gt;&lt;BR /&gt;If that fails, try running a tusc trace to get some more info on where its failing.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 09 Jan 2002 16:48:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hotspot-vs-classic-and-jni/m-p/2641501#M722853</guid>
      <dc:creator>Steven Gillard_2</dc:creator>
      <dc:date>2002-01-09T16:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: hotspot vs. classic and JNI?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hotspot-vs-classic-and-jni/m-p/2641502#M722854</link>
      <description>Hi Steve,&lt;BR /&gt;&lt;BR /&gt;Here's some output from tusc (SHLIB_PATH seems fine)... it appears to spin as you can see from the trace (thanks for looking into this!)&lt;BR /&gt;&lt;BR /&gt;Tyler&lt;BR /&gt;&lt;BR /&gt;open("/opt/OV/lib/libovutil.3", O_RDONLY, 03) ............................................... = 3&lt;BR /&gt;fstat(3, 0x7f7f5da0) ........................................................................ = 0&lt;BR /&gt;read(3, "0210010e0512@ \0\0\0\0\0\0\0\0\0".., 128) .......................................... = 128&lt;BR /&gt;lseek(3, 128, SEEK_SET) ..................................................................... = 128&lt;BR /&gt;read(3, "10\0\004\0\0\0( \0\bcfac\0\010\0".., 48) ........................................... = 48&lt;BR /&gt;read(3, "80\0\0\v\0\0\004\0\0\0\0", 12) ..................................................... = 12&lt;BR /&gt;lseek(3, 229376, SEEK_SET) .................................................................. = 229376&lt;BR /&gt;read(3, "058cy 10\0\00410\0\04 b0\0\0\0\a".., 112) .......................................... = 112&lt;BR /&gt;mmap(NULL, 577536, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_SHLIB, 3, 0x38000) ................... ERR#12 ENOMEM&lt;BR /&gt;close(3) .................................................................................... = 0&lt;BR /&gt;sysconf(_SC_CPU_VERSION) .................................................................... = 0x214&lt;BR /&gt;brk(0x40002b20) ............................................................................. = 0&lt;BR /&gt;brk(0x40004b14) ............................................................................. = 0&lt;BR /&gt;brk(0x40020000) ............................................................................. = 0&lt;BR /&gt;sigsetreturn(0x7b033f36, 0x6211988, 1392) ................................................... = 0&lt;BR /&gt;fcntl(0, F_GETFL, 0) ........................................................................ = 2&lt;BR /&gt;fcntl(1, F_GETFL, 0) ........................................................................ = 2049&lt;BR /&gt;fcntl(2, F_GETFL, 0) ........................................................................ = 2&lt;BR /&gt;fcntl(2, F_GETFL, 0) ........................................................................ = 2&lt;BR /&gt;open("/usr/lib/nls/msg/C/nmos_topo.cat", O_RDONLY, 0177777) ................................. ERR#2 ENOENT&lt;BR /&gt;open("/usr/lib/nls/C///nmos_topo.cat", O_RDONLY, 0177777) ................................... ERR#2 ENOENT&lt;BR /&gt;ksleep(RELATIVE_TIMEOUT_VALUE|PTH_SPINLOCK_OBJECT, 0x7af0f5a0, NULL, 0x7f7f9e50) ............ = -ETIMEDOUT&lt;BR /&gt;ksleep(RELATIVE_TIMEOUT_VALUE|PTH_SPINLOCK_OBJECT, 0x7af0f5a0, NULL, 0x7f7f9e50) ............ = -ETIMEDOUT&lt;BR /&gt;&lt;BR /&gt;etc, etc...&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Jan 2002 17:09:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hotspot-vs-classic-and-jni/m-p/2641502#M722854</guid>
      <dc:creator>Tyler Peterson</dc:creator>
      <dc:date>2002-01-09T17:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: hotspot vs. classic and JNI?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hotspot-vs-classic-and-jni/m-p/2641503#M722855</link>
      <description>Tyler,&lt;BR /&gt;&lt;BR /&gt;If you're still having this problem:&lt;BR /&gt;&lt;BR /&gt;1) Do you have patch PHSS_24303 installed?  This (and some earlier versions of it, since PHSS_22514) address a problem that was noted in the 1.3.0.x Hotspot (= Server) JVMs due to their implementation.  The release notes for 1.3.1.x are not clear as to whether or not the same issue still exits in that line of the HP JRE, as far as I saw...&lt;BR /&gt;&lt;BR /&gt;If you don't have this patch, you might want to try installing it (plus any dependencies), then read the updated man page on "dld.sl" for the LD_PRELOAD feature.  (It's really an environment variable that needs to be set appopriately before the affected library can be loaded).&lt;BR /&gt;&lt;BR /&gt;2) Try upgrading to 1.3.1.02.  In the release notes for this version, there are a few problem fixes with things like "spin lock problem" in the brief description.&lt;BR /&gt;&lt;BR /&gt;Good luck -&lt;BR /&gt;- Chris</description>
      <pubDate>Thu, 24 Jan 2002 22:15:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hotspot-vs-classic-and-jni/m-p/2641503#M722855</guid>
      <dc:creator>Chris De Angelis</dc:creator>
      <dc:date>2002-01-24T22:15:38Z</dc:date>
    </item>
  </channel>
</rss>

