Bug 93287 - LTK Core Refactoring triggered on shutdown of JavaPlugin
Summary: LTK Core Refactoring triggered on shutdown of JavaPlugin
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.1 M7   Edit
Assignee: Dirk Baeumer CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2005-04-29 12:21 EDT by Nick Edgar CLA
Modified: 2005-04-29 13:57 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Edgar CLA 2005-04-29 12:21:39 EDT
build I20050426-1700

While looking at bug 93238, I was launching a target workspace in the resource
perspective with the Display view added.

On shutdown, I saw that o.e.eclipse.ltk.core.refactoring was getting triggered,
and a whole bunch of extract classes getting loaded (I was running with
-verbose, just for fun).

It was triggered due to JavaPlugin.stop's call to
RefactoringCore.getUndoManager().shutdown();

Thread [System Bundle Shutdown] (Suspended (breakpoint at line 643 in Plugin))
	RefactoringCorePlugin(Plugin).start(BundleContext) line: 643
	BundleContextImpl$2.run() line: 994
	AccessController.doPrivileged(PrivilegedExceptionAction) line: 189
	BundleContextImpl.startActivator(BundleActivator) line: 988
	BundleContextImpl.start() line: 969
	BundleHost.startWorker(boolean) line: 321
	BundleHost(AbstractBundle).start() line: 266
	EclipseClassLoader.findLocalClass(String) line: 113
	BundleLoader.findLocalClass(String) line: 321
	SingleSourcePackage.loadClass(String) line: 37
	BundleLoader.findClass(String, boolean) line: 366
	BundleLoader.findClass(String) line: 334
	EclipseClassLoader(AbstractClassLoader).loadClass(String, boolean) line: 74
	EclipseClassLoader(ClassLoader).loadClass(String) line: 560
	JavaPlugin.stop(BundleContext) line: 511
	PluginActivator.stop(BundleContext) line: 42
	BundleContextImpl$3.run() line: 1035
	AccessController.doPrivileged(PrivilegedExceptionAction) line: 189
	BundleContextImpl.stop() line: 1031
	BundleHost.stopWorker(boolean) line: 402
	BundleHost(AbstractBundle).stop() line: 410
	BundleStopper.basicStopBundles() line: 73
	BundleStopper.stopBundles() line: 62
	EclipseAdaptor.frameworkStopping(BundleContext) line: 692
	Framework.shutdown() line: 504
	SystemBundle$1.run() line: 171
	Thread.run() line: 813
Comment 1 Nick Edgar CLA 2005-04-29 12:22:20 EDT
See also bug 93286.
Comment 2 Dirk Baeumer CLA 2005-04-29 13:57:05 EDT
Fixed.