﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
20563	[Patch] PluginListParser.parse amounts to 80% of allocations during startup	simon04	simon04	"==== What steps will reproduce the problem?
{{{
java -agentpath:async-profiler-2.0-rc-macos-x64/build/libasyncProfiler.so=start,file=profile.html,event=alloc -jar josm-latest.jar
}}}

https://github.com/jvm-profiling-tools/async-profiler

==== What is the expected result?
PluginListParser.parse does not contribute significantly to heap allocations 

==== What happens instead?
PluginListParser.parse amounts to 80% of allocations during startup

==== Please provide any additional information below. Attach a screenshot if possible.

{{{
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-03-01 23:51:35 +0100 (Mon, 01 Mar 2021)
Revision:17551
Build-Date:2021-03-02 02:30:57
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (17551 en) Mac OS X 10.16
OS Build number: macOS 11.2.1 (20D74)
Memory Usage: 280 MB / 2048 MB (108 MB allocated, but free)
Java version: 15.0.2+7, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.formdev.flatlaf.FlatLightLaf
Screen: Display 1 1680×1050 (scaling 2,00×2,00) Display 2 3008×1692 (scaling 2,00×2,00)
Maximum Screen Size: 3008×1692
Best cursor sizes: 16×16→16×16, 32×32→32×32

Plugins:
+ flatlaf (35703)
+ utilsplugin2 (35691)

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1
}}}
"	defect	closed	normal	21.03	Core		fixed	template_report profiling heap alloc	
