Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/Module.java2
-rw-r--r--bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/BundleContextImpl.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/Module.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/Module.java
index 4a8d7e723..3e38958f4 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/Module.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/Module.java
@@ -485,7 +485,7 @@ public abstract class Module implements BundleReference, BundleStartLevel, Compa
publishEvent(event);
// only print bundleTime information if we actually fired an event for this bundle
if (container.DEBUG_BUNDLE_START_TIME) {
- Debug.println(TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startTime) + "ms for total start time of " + this); //$NON-NLS-1$
+ Debug.println(TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startTime) + " ms for total start time event " + event + " - " + this); //$NON-NLS-1$ //$NON-NLS-2$
}
}
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/BundleContextImpl.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/BundleContextImpl.java
index 94920c0e3..5d900bf78 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/BundleContextImpl.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/BundleContextImpl.java
@@ -777,7 +777,7 @@ public class BundleContextImpl implements BundleContext, EventDispatcher<Object,
}
activator = loadBundleActivator();
if (debug.DEBUG_BUNDLE_TIME) {
- Debug.println((System.currentTimeMillis() - start) + "ms to load the activator of " + bundle); //$NON-NLS-1$
+ Debug.println((System.currentTimeMillis() - start) + " ms to load the activator of " + bundle); //$NON-NLS-1$
}
} catch (Exception e) {
if (e instanceof RuntimeException) {
@@ -794,7 +794,7 @@ public class BundleContextImpl implements BundleContext, EventDispatcher<Object,
throw be;
} finally {
if (debug.DEBUG_BUNDLE_TIME) {
- Debug.println((System.currentTimeMillis() - start) + "ms to load and start the activator of " + bundle); //$NON-NLS-1$
+ Debug.println((System.currentTimeMillis() - start) + " ms to load and start the activator of " + bundle); //$NON-NLS-1$
}
}
}

Back to the top