Modify

Opened 5 years ago

Closed 5 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 5 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 5 years ago by simon04

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 Changed 5 years ago by simon04

In 8736/josm:

see #11843 - Give all directly started threads sensible names

comment:3 Changed 5 years ago by simon04

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

comment:4 Changed 5 years ago by simon04

In 8738/josm:

see #11843 - Terminate initialization threads

Changed 5 years ago by simon04

Attachment: 11843-plugin.patch added

comment:5 Changed 5 years ago by simon04

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 Changed 5 years ago by simon04

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 Changed 5 years ago by simon04

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 Changed 5 years ago by simon04

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.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.