Modify

Opened 9 years ago

Closed 8 years ago

#11843 closed enhancement (fixed)

[Patch] Improve number and name of running threads

Reported by: simon04 Owned by: simon04
Priority: normal Milestone: 15.09
Component: Core Version:
Keywords: Cc:

Description

This ticket is meant to collect improvements on (background) threads in JOSM …

Attachments (1)

11843-plugin.patch (4.1 KB ) - added by simon04 9 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 by simon04, 9 years ago

In 8734/josm:

see #11843 - Give all started threads sensible names

Utils#newThreadFactory creates a ThreadFactory to be used when
obtaining a new Executor via Executors.new….

comment:2 by simon04, 9 years ago

In 8736/josm:

see #11843 - Give all directly started threads sensible names

comment:3 by simon04, 9 years ago

[o31538], [o31539] (concerning bing attribution loader)

comment:4 by simon04, 9 years ago

In 8738/josm:

see #11843 - Terminate initialization threads

by simon04, 9 years ago

Attachment: 11843-plugin.patch added

comment:5 by simon04, 9 years ago

Summary: Improve number and name of running threads[Patch] Improve number and name of running threads

Is there a reason why the plugins are loaded in a separate thread for which termination is being waited immediately afterwards? If not, then I propose to perform those tasks in the current thread, see attachment:11843-plugin.patch

comment:6 by simon04, 9 years ago

The only thread with a generic name is being created in org.openstreetmap.josm.io.FileWatcher via calling java.nio.file.FileSystem#newWatchService (at least on Linux/OpenJDK) …

comment:7 by simon04, 8 years ago

In 8776/josm:

see #11843 - Run plugin tasks in the same thread

Before, a separate thread had been spawned for which termination had being waited immediately afterwards.

comment:8 by simon04, 8 years ago

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain simon04.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.