Re: Structure of Link Vector

2000-03-30 Thread SHUDO Kazuyuki

Tim Walsh <[EMAIL PROTECTED]> wrote:

> Can anyone give me some detailed structure details of the
> Link Vector which is passed to a JIT using the java_lang_Compiler_start
> function.
> Frank Yellin's JIT Compiler API just mentions the types of addresses
> contained with in it.

JIT API has not been well documented by Sun.
`The JIT Compiler API' by Frank Yellin is the only
document describing the JIT API of classic VM, although
it is written for JDK 1.0.2(!) and not comprehensible.

But we can see the source code of existing JIT compilers
such as TYA, shuJIT and OpenJIT. They are helpful in
understanding the JIT API and the JDK source code may be
also helpful. And JIT developers on this list may answer
if you have specific questions.

Kazuyuki SHUDO  Happy Hacking!
  Muraoka Lab., Grad. School of Sci. & Eng., Waseda Univ.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Help java3d

2000-03-30 Thread Dr. S. V. Rao


Hello,

I have downloaded jdk-1.2.2 and java3d-1.1.3 and installed. I am viewing
java3d demos using appletviews, but unable to view in nestscape. Please
let me know, what I have to do?

Thanks in advance
svrao

-- 
---
Dr. S. V. RaoPhone : +91-361-521915 Ext 233
Assistant Professor
Dept. of Computer Science & Engg.Fax   : +91-361-521916 (O) 
Indian Institute of Technology 
Institution of Engineers BuildingE-mail: [EMAIL PROTECTED]
Panbazar, Guwahati - 781 001 [EMAIL PROTECTED]
ASSAM, INDIA
---


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Problem with JNI

2000-03-30 Thread Natarajan SK

Hi, 
  I've racked more brains than I've got trying to figure this out.  If 
someone can give me a hint as to how I can proceed with solving this problem, 
I would be obliged. I'm invoking the JVM using dlopen to open the 1.2.2 
libjvm.so and am doing a dlsym of the JNI init args and JNI CreateJavaVM 
functions. The JVM initialises quite OK and proceeds into the Java Code up to a point. 
But it refuses to enter within a method which is a simple method 
where some variables are initialised. We thought the Java and Native stack 
sizes or the heap size might be less and so we increased all that but it 
doesn't help.

 The relevent code is something like this.

   Class Conn code segment:
   Print.printl("About to create message"); 
Message message = new
   Message( msgindex , request , props);

   Class Message code segment:
   Constructor: Message(int msgindex, Request 
request, Properties props){
   Print.printl("Creating message");
   m_msgindex=msgindex; m_request =
   request; m_properties=props; }

I'm getting the message " About to create message" in my status file but am 
not getting the "Creating message" when I invoke the JVM from my native code. 
However from the command line "java" I get both messages and the program 
executes as desired. Also this happens only in Linux. In Solaris things work 
fine.  Also I'm using the native_threads version of the java library.

We suspect it to be a  JVM tuning problem.  Could anyone have tips on the parameters 
to be passed for tuning. I'm awar that JVM provides the JDK1_1InitArgs tstructure to 
pass parameters but changing the structure parameters desn't seem to help.

Any ideas would be welcome.

Thanks

  






--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: TCP performance issues

2000-03-30 Thread John Rousseau


On  Mar 29, 2000, Ekkehard Kraemer wrote:

> Hallo John,
> 
> JR>I'm thinking that the kernel TCP connection queues are filling up and 
> JR>further requsts are getting dropped, but at 20? 
> 
> Did you check ulimit (file handles)?
> 
> Did you try 'lsof | grep TCP'? Maybe it shows thousands of "zombie" TCP/IP
> connections.

The first thing that I thought of was open file descriptors. lsof
doesn't show any zombies. I'm assuming that all the threads in a
process share the same file descriptors, in which case my server is
only using about 100 file descriptors.

Just in case, I built a new kernel this morning with NR_TASKS,
NR_OPEN, OPEN_MAX and __FD_SETSIZE all bumped up. It performs the
same (actually a little worse).

> Which JDBC driver are you using? The msql driver is (AFAIK)
> unbelievable slow since it creates (and immediately destroys) at
> lease one new thread for each *row* read. By your description,
> JDBC seems not to be the problem, but you may want to check
> anyway.

I've tested this with our own Oracle8i native (OCI) drivers and the
Sybase jConnect type 4 drivers for both Adaptive Server Anywhere and
Adaptive Server Enterprise. I've tried both local database servers
and network based servers (on big hardware).

Is there any kernel output I can enable so I can find out why it
thinks it needs to reject incoming connections?

Thanks
-John



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




HELP: determining system load?

2000-03-30 Thread Bruno Boettcher

Hello,

i am setting up an distributed environment, it would be helpful to be able to
determine the load on each node

is there a platform independ way to get grip of this ?
Does anything speak against reading  /proc/loadavg ?
(if linux was detected as platform...)

-- 
ciao bboett
==
[EMAIL PROTECTED]
http://inforezo.u-strasbg.fr/~bboett http://erm1.u-strasbg.fr/~bboett
===
the total amount of intelligence on earth is constant.
human population is growing


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: HELP: using unix-signals?

2000-03-30 Thread Chris Kelly

http://interstice.com/~kevinh/projects/javasignals/
http://www.naturalbridge.com/useful/index.html

At 07:06 PM 3/30/00 +0200, Bruno Boettcher wrote:
>i didn't found this in the FAQ's nor in the docu is there a way to
capture
>-c interruptions or as long as this one to any one of the other
>unix-signals?




oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo
 Send Sun a Message!
  Vote for JConfig in the JDJ Readers' Choice Awards.
http://www.sys-con.com/java/readerschoice2000/
 See the 'Best Class Library' category.
oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo0oo



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: HELP: using unix-signals?

2000-03-30 Thread TrentJarvi

http://interstice.com/~kevinh/projects/javasignals/


-- 
Trent Jarvi
[EMAIL PROTECTED]

On Thu, 30 Mar 2000, Bruno Boettcher wrote:

> Hello,
> 
> i didn't found this in the FAQ's nor in the docu is there a way to capture
> -c interruptions or as long as this one to any one of the other
> unix-signals?
> 
> I would like to be able to interrupt a server through kill signals, but would
> like that it makes  some salvages before going down
> 
> 


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




How do I trap Keycodes ?

2000-03-30 Thread Syam_Kumar_Abburi



Hi All,
 Could any one tell me how to trap Keyevents (Keyup, down etc.) with out
displaying any GUI
components?

I noticed that the KeyEvents are delivered only when the GUI component is shown
and focus is on that.
I want to get Keycodes with out displaying any GUI component. My application
does not require any GUI
component. Any help would be appreciated.

thanks and regards,
syam



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]