Project:
View Revisions: Issue #27351 | [ All Revisions ] [ Back to Issue ] | ||
Summary | 0027351: Stabilization: The globalResources in the Component Providers are being created hundreds of times and the code is thread unsafe | ||
Revision | 2014-08-18 11:02 by Orekaria | ||
Steps To Reproduce | In the MobileCoreComponentProvider.java add this code at the end of the file: System.out.println("checking globalResources.size: " + globalResources.size()); return globalResources; } } Open the WebPOS Verify the System.out.output in the tomcat console log Verify that the count should be = 40, but sometimes is more or less (thread unsafe) Verify that the very same array is created over and over Add this same System.out.println line to other <module>ComponentProvider.java |
||
Revision | 2014-08-18 10:57 by Orekaria | ||
Steps To Reproduce | In the MobileCoreComponentProvider.java add this code at the end of the file: System.out.println("checking globalResources.size: " + globalResources.size()); return globalResources; } } Open the WebPOS Verify the System.out.output in the tomcat console log Verify that the count should be = 40, but sometimes is more or less (thread unsafe) |
||
Revision | 2014-08-17 15:13 by Orekaria | ||
Steps To Reproduce | In the MobileCoreComponentProvider.java add this code at the end of the file: System.out.println("checking globalResources.size: " + globalResources.size()); return globalResources; } } |
||
Revision | 2014-08-17 15:09 by Orekaria | ||
Steps To Reproduce | Set a breakpoint in the getGlobalComponentResources method of the MobileCoreComponentProvider.java file Verify that several times the very same object is being built |
Copyright © 2000 - 2009 MantisBT Group |