J
julien
Hi,
There is my problem.
First part : I have a java programme that makes some operation, create
a list, ..;
Second part : I have unrealIRC
I need to make a unrealIRCD module that talk to the java program. This
is the plan.
So to do this, i have make a plugin, that instanciate JVM via JNI and
create an instance of my java class and call a method < String
makeOperation(String param) >
Problem is : in java code i have a System.gc() call. When this code is
execute, unrealIRCD freeze. I have no stack trace, no GC log, nothing,
just freeze. Garbage collector seems to wait something ? After that i
have test to call System.gc() in the class constructor and it works..
If i comment the line in my makeOperation function, its works for few
operations and freeze, i think, when the garbage collector is launched
by the JVM.
I have not a good knowledge about garbage collector. If someone have
an idea about this freeze, please help me
Thanks
There is my problem.
First part : I have a java programme that makes some operation, create
a list, ..;
Second part : I have unrealIRC
I need to make a unrealIRCD module that talk to the java program. This
is the plan.
So to do this, i have make a plugin, that instanciate JVM via JNI and
create an instance of my java class and call a method < String
makeOperation(String param) >
Problem is : in java code i have a System.gc() call. When this code is
execute, unrealIRCD freeze. I have no stack trace, no GC log, nothing,
just freeze. Garbage collector seems to wait something ? After that i
have test to call System.gc() in the class constructor and it works..
If i comment the line in my makeOperation function, its works for few
operations and freeze, i think, when the garbage collector is launched
by the JVM.
I have not a good knowledge about garbage collector. If someone have
an idea about this freeze, please help me
Thanks