Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Lippert2009-05-03 11:22:57 +0000
committerMartin Lippert2009-05-03 11:22:57 +0000
commit7bdb1d5cca2e81163d37ab4193601afdd5142b0d (patch)
tree9bd081ac286a5cfaa0d92cd4d2b12939370c9b28 /bundles
parentffcb08add3c0b65593facb70d1e8b7dce5798676 (diff)
downloadrt.equinox.bundles-7bdb1d5cca2e81163d37ab4193601afdd5142b0d.tar.gz
rt.equinox.bundles-7bdb1d5cca2e81163d37ab4193601afdd5142b0d.tar.xz
rt.equinox.bundles-7bdb1d5cca2e81163d37ab4193601afdd5142b0d.zip
Bug 274749 - [aspects] caching service performance problem
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.equinox.weaving.caching/.options2
-rw-r--r--bundles/org.eclipse.equinox.weaving.caching/src/org/eclipse/equinox/weaving/internal/caching/Activator.java2
-rw-r--r--bundles/org.eclipse.equinox.weaving.caching/src/org/eclipse/equinox/weaving/internal/caching/BundleCachingService.java4
3 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.equinox.weaving.caching/.options b/bundles/org.eclipse.equinox.weaving.caching/.options
index 4a1f02a72..847c41a3f 100644
--- a/bundles/org.eclipse.equinox.weaving.caching/.options
+++ b/bundles/org.eclipse.equinox.weaving.caching/.options
@@ -1 +1 @@
-org.aspectj.osgi.service.caching/debug=false
+org.eclipse.equinox.weaving.caching/debug=false
diff --git a/bundles/org.eclipse.equinox.weaving.caching/src/org/eclipse/equinox/weaving/internal/caching/Activator.java b/bundles/org.eclipse.equinox.weaving.caching/src/org/eclipse/equinox/weaving/internal/caching/Activator.java
index ca99562c3..fb56c9f58 100644
--- a/bundles/org.eclipse.equinox.weaving.caching/src/org/eclipse/equinox/weaving/internal/caching/Activator.java
+++ b/bundles/org.eclipse.equinox.weaving.caching/src/org/eclipse/equinox/weaving/internal/caching/Activator.java
@@ -89,7 +89,7 @@ public class Activator implements BundleActivator {
.getService(debugOptionsReference);
if (debugOptions != null) {
Log.debugEnabled = debugOptions.getBooleanOption(
- "org.aspectj.osgi.service.caching/debug", true); //$NON-NLS-1$
+ "org.eclipse.equinox.weaving.caching/debug", false); //$NON-NLS-1$
}
}
if (debugOptionsReference != null) {
diff --git a/bundles/org.eclipse.equinox.weaving.caching/src/org/eclipse/equinox/weaving/internal/caching/BundleCachingService.java b/bundles/org.eclipse.equinox.weaving.caching/src/org/eclipse/equinox/weaving/internal/caching/BundleCachingService.java
index 04c7f43bb..2cf38a909 100644
--- a/bundles/org.eclipse.equinox.weaving.caching/src/org/eclipse/equinox/weaving/internal/caching/BundleCachingService.java
+++ b/bundles/org.eclipse.equinox.weaving.caching/src/org/eclipse/equinox/weaving/internal/caching/BundleCachingService.java
@@ -244,9 +244,9 @@ public class BundleCachingService implements ICachingService {
}
return classbytes;
} catch (final IOException e) {
- Log.error(MessageFormat.format(
+ Log.debug(MessageFormat.format(
"for [{0}]: Cannot read [1] from cache!", bundle //$NON-NLS-1$
- .getSymbolicName(), name), e);
+ .getSymbolicName(), name));
return null;
} finally {
if (in != null) {

Back to the top