sysperfana/analyzetoolext/com.nokia.s60tools.analyzetool/src/com/nokia/s60tools/analyzetool/engine/statistic/SymReader.java
changeset 6 f65f740e69f9
parent 1 1050670c6980
equal deleted inserted replaced
5:844b047e260d 6:f65f740e69f9
     1 /*
     1 /*
     2  * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     2  * Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
     3  * All rights reserved.
     3  * All rights reserved.
     4  * This component and the accompanying materials are made available
     4  * This component and the accompanying materials are made available
     5  * under the terms of "Eclipse Public License v1.0"
     5  * under the terms of "Eclipse Public License v1.0"
     6  * which accompanies this distribution, and is available
     6  * which accompanies this distribution, and is available
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    12  * Contributors:
    12  * Contributors:
    13  *
    13  *
    14  * Description:  Definitions for the class SymReader
    14  * Description:  Definitions for the class SymReader
    15  *
    15  *
    16  */
    16  */
    17 
       
    18 
    17 
    19 package com.nokia.s60tools.analyzetool.engine.statistic;
    18 package com.nokia.s60tools.analyzetool.engine.statistic;
    20 
    19 
    21 import java.io.File;
    20 import java.io.File;
    22 import java.util.AbstractList;
    21 import java.util.AbstractList;
   284 	 */
   283 	 */
   285 	public void reOpenCachedSymbolFiles() {
   284 	public void reOpenCachedSymbolFiles() {
   286 		if (manager == null) {
   285 		if (manager == null) {
   287 			//it's strange that we need to create another Object here so that DE releases the
   286 			//it's strange that we need to create another Object here so that DE releases the
   288 			//targets
   287 			//targets
   289 			manager = new SymbolReaderManager().getSymbolReaderManager();
   288 			manager = SymbolReaderManager.getSymbolReaderManager();
   290 		}
   289 		}
   291 		Set<String> keySet = allreayOpen.keySet();
   290 		Set<String> keySet = allreayOpen.keySet();
   292 		for (String moduleName : keySet) {
   291 		for (String moduleName : keySet) {
   293 			if (allreayOpen.get(moduleName) == null) {
   292 			if (allreayOpen.get(moduleName) == null) {
   294 				String file = getSymbolFileNameForTarget(moduleName);
   293 				String file = getSymbolFileNameForTarget(moduleName);