From: Giancarlo <wro...@gm...> - 2009-02-12 16:35:37
|
Hi, I have experienced a strange problem with GridSim. Now I'm using gridsim 4.2 I try to submit gridlet using send method of gridsimcore, with and without a port. When I use the send method with output port nothing wrong happens, but when I use the send method without a port, I get ConcurrentModificationException. I have tried the two methods on the same list of gridlet (1000 gridlet), with the same GridResource (One resource of 200 machines). I think the exception is brought by a race condition between a call to gridletSubmit() method of SpaceShared class (or whatever class extends AllocPolicy) made by GridResource thread and events treated in the body of SpaceShared thread. The strange thing is that the exception was raised only when using the send method without a port. Does anyone know why it happens? Best regards, Giancarlo |