thanks for the input nathan..
i work in one of the biggest linux shops in the world.
java is definitely where i want to go; it is just a matter of when
and with what..
our linux machines (usually just P2-400s running http://www.roxen.com, which
now supports servlets) take
millions of hits, downlo
"Michael E. Moores" wrote:
>
> i want to know that i can use the blackdown implementation
> for serving a medium volume ecommerce site which is responsible
> for millions of dollars of revenue.
> so far, not so good. but i am not a senior java developer,
> so some inputs would be very much appre
Hello Michael,
MEM>i think the jvm/jdk has a big leak with one or more of the
MEM>classes used.
I'm running the Blackdown JDK (1.2-RC3, with sunwjit and native threads) here
with very good results. I have only one (non-trivial) application running, and
it doesn't show your problem. It uses socke
> Cynthia Jeness writes:
Cynthia> My only remaining comment is that the names of the java
Cynthia> fonts in the "font.properties" file were changed from
Cynthia> "zapf dingbats" to "dingbats" and from "symbol" to
Cynthia> "standard symbols l". I changed the names back to avoi
> David Li writes:
David> These two determines what the default locale will
David> be. However GetPropertyAction is in sun.security.action. I
David> have a simple program like this:
David> import java.util.Locale;
David> public class TestLocale
David> {
David>
FYI i am using native threads.
also, the garbage collection loop
ONLY tells the system we would like to encourage
a GC pass. i noticed that this DID make the
program have less periodic slowness..
At 08:40 PM 1/5/00 -0200, Edson Carlos Ericksson Richter wrote:
>For all: I'm doing a comparision b
i just tried it on NT 4.0.
i get the same results.
my next step is to download the inprise/linux version
from sun and see what that does.
i bet i have similar trouble.
can anyone else verify this problem with the provided code?
i would like to see results from the 1.8 jdk..
--michael
At 07:53
For all: I'm doing a comparision based on report from Michael E. Moores using the same
program (see bellow) and anotating reports about memory usage (and, of course,
stability). Michael reported a crash after 45000 loops in Linux JDK1.2.2 ("linux 2.2,
blackdown 1.2 (glibc 1.2.1)").
My comparis
Hallo Pierre,
PHr>Does anybody know where is the error ?
Did you specify a package for your java file? If you did, then you must call
javah appropriately.
MbG, Ekkehard
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a sub
I'm sorry: cpu usage is not 100% because Java:
53% java, 47% Apache Server...
Actual report:
86000 loops, 7128K ram + 5072K virt, rt.free()=2097144
Edson Richter
--
From: Michael E. Moores
Sent: quarta-feira, 5 de janeiro de 2000 17:40
To: Edson Carlos Ericksson Richter
Cc:
Hi!
To compare, I'm running the program with a infinite number of loops (trough a while
loop) and the first report for my NT machine with JDK1.2.2 is (I have hotspot, but
I've disabled to this test):
start 7124K ram 5072K virtual mem. and free memory reports 2097144
15000 loops 7128
Remy,
This is a known problem on all versions of Java. Here is the quote from
the Java Series Book, "The Java Native Interface" by Sheng Liang:
"Unfortunately, you cannot unload the Java virtual machine implementation
in JDK release 1.1 or Java 2 SDK release 1.2. DestroyJavaVM always
returns a
Chris Abbey wrote:
> OK, I've now seen the rumor mentioned three times... can anyone point to
> an IBM source of where this might be comming from? -=Chris
>
> p.s. Without trying to spread it, the rumor I'm refering to is the one
> that IBM will be OSS'ing their Linux VM in the 1.3 time frame
Based on my experience, there are really several issues
1. You man not have a "dingbats" font. In which case, you can download the URW
fonts and get the "Zapf Dingbats" font and install it on your system following
directions that are appropriate for you Linux distribution and implementation.
2
so you can also see the heap get used up
with the win32 JDK?
i don't see how the blackdown JDK can be used
for programs that persist for long periods.
i tried several versions of that code.
i agree you will always get a performance
benefit by NOT calling object contructors inside of a long runni
I believe that Sun has not implemented the DestroyJavaVM(). In JDK 1.1 it was
definitely not implemented and the method always returns -1. In JDK 1.2 the
situation is still the same, the VM can not be Destroyed.
Mark
Remy Dupas <[EMAIL PROTECTED]> on 01/05/2000 02:25:30 PM
To: [EMAIL PRO
Edson (& java-linx),
this code below runs out of heap space even faster than
my original program. sorry the code probably does not
look good after being pasted into this email..
but the basic -->test<-- is to write some code which
will 1) actually do something and 2) will run -->FOREVER<--
(well
[EMAIL PROTECTED] wrote:
>
> I have Slackware 7.0 and installed jdk-1_2_2-RC3-linux-i386.sh and
> jdk-1_2_2-RC3-linux-i386.sh. When I start "java -jar Notepad.jar", I receive
> the message from font.Properties that the dingbat font is not found. I have
> font.Properties and font.Properties.tt.
I use JDK 1.2 with RedHat 6.0 Linux 2.2.5-15
I invoke the Java Virtual Machine from a program C as described in the
example of the tutorial
At the end of this program, I call (*jvm)->DestroyJavaVM(jvm) but it
returns -1.
So it seems that the Java Virtual Machine has not been destroyed, and
I have fixed my problem. I forgot to include the Native.h file produced by javah
which includes the extern "C".
Pierre.
Mark Delafranier wrote:
> You will probably have to extern "C" the code in your C++ library. JNI uses C
> calling conventions.
>
> Mark
>
> I hava a problem with JNI.
> I use
You will probably have to extern "C" the code in your C++ library. JNI uses C
calling conventions.
Mark
Pierre Héroux <[EMAIL PROTECTED]> on 01/05/2000 03:47:12 AM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:(bcc: Mark Delafranier/SYBASE)
Subject: Problem with JNI
Pierre Héroux wrote:
>
> I hava a problem with JNI.
> I use RedHat 6.1 and jdk1.2.2.
>
> The following code doesn't work
>
> public class Native {
> static {
> System.loadLibrary("Native");
> System.out.println("The Library is loaded...");
> }
>
> public Native() {}
>
> publ
I have Slackware 7.0 and installed jdk-1_2_2-RC3-linux-i386.sh and
jdk-1_2_2-RC3-linux-i386.sh. When I start "java -jar Notepad.jar", I receive
the message from font.Properties that the dingbat font is not found. I have
font.Properties and font.Properties.tt. How do I fix this message?
-
Heap consumption and performance are real problems in Java.
But some great pratices in coding solve (or amenizes) the problem:
1) Don't repeat declaration of common used variables:
2) Create a thread in your main class taking a "forced garbage collection".
See the following program, that I've r
I hava a problem with JNI.
I use RedHat 6.1 and jdk1.2.2.
The following code doesn't work
public class Native {
static {
System.loadLibrary("Native");
System.out.println("The Library is loaded...");
}
public Native() {}
public native void Hello();
public static void main(S
> OK. The reason I ask is to try to rule things out. The environment has
> changed, the JDK hasn't, so maybe the environment needs more attention.
> I suspect your answer lies in the C library and its I18N support, not in
> the JDK. Have you tried other applications than the JDK, to see if their
Hi all,
After hours of hair tearing, I think I have found what went wrong. In one
word, this is a problem of conflicting time zone standards between the one
used by Linux and the one used by Java.
I switched between different time zones (of different countries). I found
that Michael Sinz (thank
27 matches
Mail list logo