Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JVM on Solaris

Status
Not open for further replies.

steubi

Programmer
Sep 14, 2004
5
CA
Hi,

Does anybody know if there are other JVM than the Sun one available for Solaris?
Do they implement JNI?

Thanks for the help.
 
Why would you want a non-Sun JRE ? Its the best out there !!!

--------------------------------------------------
Free Database Connection Pooling Software
 
Thanks guys.
I need a faster JNI implementation.
I just wanted to check if there was any other JVM because the Sun one is too slow.
 
I'd be interested in knowing what makes you think it is slow ?

I've recently done a lot of using JNI, and found that on a quick enough machine (2.8GHz) there was barely any time lag ... obviously some, but not a lot ... compared to pure C solutions.
Memory usuage was a LOT higher using JNI, but then thats not what you're questioning.

--------------------------------------------------
Free Database Connection Pooling Software
 
I agree here wiht sedj, I've never found a significant time performance overhead using JNI.

Cheers.

Dian
 
I agree that calling C code from Java is quite fast. But calling Java code from C is a lot slower (probably because you need to attach the thread to the JVM). The problem is that I need to do this call quite often (around 3000 times a second). So any gain in performance is welcome...
 
Maybe it's not my business but ...

If you use C code to call Java functions, you're losing portability and so why not translate the calls into C?

That would do the best performance.

Anyway, I don't think other JVMs will offer significan perfomance improvement.

Cheers.

Dian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top