[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2019-02-10 Thread Eric Bresie (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16764467#comment-16764467
 ] 

Eric Bresie commented on NETBEANS-1359:
---

This may be something to capture as a newer higher level umbrella item with 
linked sub-items where applicable but,

Based on some aspects of what I'm seeing here, am I correct in saying that 
portions of Netbeans may not be fully migrated to account for the 
"modularization" which comes with newer Java versions?  As part of this some 
previously available java internal api interfaces are no longer as available as 
they use to be which may result in some exceptions in different places.  

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Fix For: 10.0
>
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-11-06 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16676983#comment-16676983
 ] 

Geertjan Wielenga commented on NETBEANS-1359:
-

http://mail.openjdk.java.net/pipermail/jdk-updates-dev/2018-October/000240.html

January 2019

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-11-06 Thread Emilian Bold (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16676925#comment-16676925
 ] 

Emilian Bold commented on NETBEANS-1359:


I'm curious when JDK 11.0.2 will be released.

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-11-01 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16671988#comment-16671988
 ] 

Geertjan Wielenga commented on NETBEANS-1359:
-

Confirmed. 18 (2018/11/1) fixes the problem (https://jdk.java.net/12/) and if 
this is in 11.0.2, then that's excellent.

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-31 Thread Mandy Chung (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16670289#comment-16670289
 ] 

Mandy Chung commented on NETBEANS-1359:
---

JDK 12 EA builds are available for download at 
[https://jdk.java.net/12/.|https://jdk.java.net/12/]

Build 18 should be available end of this week (11/1 or 11/2).

 

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-31 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16670235#comment-16670235
 ] 

Geertjan Wielenga commented on NETBEANS-1359:
-

Great, but when and where will these be available?

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-31 Thread Mandy Chung (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16670232#comment-16670232
 ] 

Mandy Chung commented on NETBEANS-1359:
---

[JDK-8212795|https://bugs.openjdk.java.net/browse/JDK-8212795] should be in JDK 
12 build 12 and has been backport to 11.0.2

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-31 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16670035#comment-16670035
 ] 

Geertjan Wielenga commented on NETBEANS-1359:
-

See the below, the only question now is on which JDK 11 or 12, and when Apache 
NetBeans 10 should be run.

http://mail.openjdk.java.net/pipermail/serviceability-dev/2018-October/025742.html

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-30 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16668508#comment-16668508
 ] 

Geertjan Wielenga commented on NETBEANS-1359:
-

Sven, can you verify this? 11.0.2 does not seem to be available yet and which 
specific ea of JDK 12 should this now be working correctly in?

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-29 Thread Mandy Chung (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16667529#comment-16667529
 ] 

Mandy Chung commented on NETBEANS-1359:
---

[https://bugs.openjdk.java.net/browse/JDK-8212795] has been fixed in 12 and 
backport to 11.0.2.  Sven has verified that the fix for JDK-8212795 has 
resolved this NetBeans issue.

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-29 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16667481#comment-16667481
 ] 

Geertjan Wielenga commented on NETBEANS-1359:
-

What do we do with this for Apache NetBeans 10? Document it in the release 
notes as a JDK bug in JDK 11, change 'blocker' to 'major', and make sure to 
keep track of it?

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-25 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16664043#comment-16664043
 ] 

Sven Reimers commented on NETBEANS-1359:


http://mail.openjdk.java.net/pipermail/serviceability-dev/2018-October/025729.html

Fix available for JDK11, fix tested is working, waiting for integration into 12 
and backport to 11.

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-21 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16658456#comment-16658456
 ] 

Sven Reimers commented on NETBEANS-1359:


Sent to JDK mailing list, see 
http://mail.openjdk.java.net/pipermail/serviceability-dev/2018-October/025639.html
 for details.

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-21 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16658454#comment-16658454
 ] 

Sven Reimers commented on NETBEANS-1359:


After applying the proposed fix I get this
{code}
java.lang.reflect.InvocationTargetException
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at 
org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:178)
at 
org.netbeans.modules.sampler.SamplesOutputStream.access$400(SamplesOutputStream.java:44)
at 
org.netbeans.modules.sampler.SamplesOutputStream$Sample.writeToStream(SamplesOutputStream.java:285)
at 
org.netbeans.modules.sampler.SamplesOutputStream$Sample.access$300(SamplesOutputStream.java:253)
at 
org.netbeans.modules.sampler.SamplesOutputStream.close(SamplesOutputStream.java:202)
at org.netbeans.modules.sampler.Sampler.stopSampling(Sampler.java:231)
at org.netbeans.modules.sampler.Sampler.stop(Sampler.java:207)
at 
org.netbeans.core.ui.sampler.SelfSamplerAction$1.doInBackground(SelfSamplerAction.java:90)
at java.desktop/javax.swing.SwingWorker$1.call(SwingWorker.java:304)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.desktop/javax.swing.SwingWorker.run(SwingWorker.java:343)
at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:835)
Caused by: java.lang.AssertionError: 
javax.management.openmbean.OpenDataException: Argument value of wrong type for 
item lockInfo: value false, type 
javax.management.openmbean.CompositeType(name=java.lang.management.LockInfo,items=((itemName=className,itemType=javax.management.openmbean.SimpleType(name=java.lang.String)),(itemName=identityHashCode,itemType=javax.management.openmbean.SimpleType(name=java.lang.Integer
at 
java.management/sun.management.ThreadInfoCompositeData.getCompositeData(ThreadInfoCompositeData.java:135)
at 
java.management/sun.management.ThreadInfoCompositeData.toCompositeData(ThreadInfoCompositeData.java:72)
... 18 more
Caused by: javax.management.openmbean.OpenDataException: Argument value of 
wrong type for item lockInfo: value false, type 
javax.management.openmbean.CompositeType(name=java.lang.management.LockInfo,items=((itemName=className,itemType=javax.management.openmbean.SimpleType(name=java.lang.String)),(itemName=identityHashCode,itemType=javax.management.openmbean.SimpleType(name=java.lang.Integer
at 
java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:235)
at 
java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:118)
at 
java.management/sun.management.ThreadInfoCompositeData.getCompositeData(ThreadInfoCompositeData.java:130)
... 19 more
{code}
Seems the sequence of values is broken for ThreadInfoCompoositeData also.

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-21 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16658320#comment-16658320
 ] 

Sven Reimers commented on NETBEANS-1359:


Looks like another problem in JDK code. See 
http://mail.openjdk.java.net/pipermail/serviceability-dev/2018-October/025636.html
 for details.

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-21 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16658301#comment-16658301
 ] 

Sven Reimers commented on NETBEANS-1359:


Can confirm that the symptom is not gone. But the exception changed. I now see
{code}
java.lang.reflect.InvocationTargetException
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at 
org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:178)
at 
org.netbeans.modules.sampler.SamplesOutputStream.access$400(SamplesOutputStream.java:44)
at 
org.netbeans.modules.sampler.SamplesOutputStream$Sample.writeToStream(SamplesOutputStream.java:285)
at 
org.netbeans.modules.sampler.SamplesOutputStream$Sample.access$300(SamplesOutputStream.java:253)
at 
org.netbeans.modules.sampler.SamplesOutputStream.close(SamplesOutputStream.java:202)
at org.netbeans.modules.sampler.Sampler.stopSampling(Sampler.java:231)
at org.netbeans.modules.sampler.Sampler.stop(Sampler.java:207)
at 
org.netbeans.core.ui.sampler.SelfSamplerAction$1.doInBackground(SelfSamplerAction.java:90)
at java.desktop/javax.swing.SwingWorker$1.call(SwingWorker.java:304)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.desktop/javax.swing.SwingWorker.run(SwingWorker.java:343)
at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:835)
Caused by: java.lang.IllegalArgumentException: Argument compositeType cannot be 
null.
at 
java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:206)
at 
java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:118)
at 
java.management/sun.management.ThreadInfoCompositeData.getCompositeData(ThreadInfoCompositeData.java:130)
at 
java.management/sun.management.ThreadInfoCompositeData.toCompositeData(ThreadInfoCompositeData.java:72)
... 18 more
{code}
with JDK12-ea+16

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-21 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16658272#comment-16658272
 ] 

Geertjan Wielenga commented on NETBEANS-1359:
-

I confirm finding by [~gholmer]. Despite the issue being marked as fixed in 
12-ea+16, the problem persists, i.e., snapshot sampling hangs and does not 
produce the result epected.

Product Version: Apache NetBeans IDE Dev (Build 
incubator-netbeans-release-345-on-20181002)
Updates: Updates available
Java: 12-ea; OpenJDK 64-Bit Server VM 12-ea+16
Runtime: OpenJDK Runtime Environment 12-ea+16
System: Mac OS X version 10.13.6 running on x86_64; UTF-8; en_NL (nb)
User directory: /Users/geertjanwielenga/demo2
Cache directory: /Users/geertjanwielenga/demo2/var/cache

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-21 Thread Glenn Holmer (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16658252#comment-16658252
 ] 

Glenn Holmer commented on NETBEANS-1359:


I'm still seeing the issue with OpenJDK Runtime Environment (build 12-ea+16), 
and one other NetCAT tester confirms this on the mailing list.

Regarding opening snapshots from previous versions, I've successfully opened 
heap dumps (.hprof) and self-sample dumps (.npss) created under JDK8 with 
NetBeans running under JDK11.

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-20 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16658007#comment-16658007
 ] 

Geertjan Wielenga commented on NETBEANS-1359:
-

Great to see this progress. Once something can be tried out, please describe 
exactly what should be tried out, also ideally on a new thread on Apache 
NetBeans dev mailing list so others can see that there's progress here and give 
feedback. I'd like to provide feedback, not clear yet to me how/what I should 
try to see what result.

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-20 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16657861#comment-16657861
 ] 

Sven Reimers commented on NETBEANS-1359:


I had a look and there is {code}ThreadInfo.from(CompositeData 
compositeDate){code} but not {code}ThreadInfo.toCompositeData(){code}.

Will ask on jdk mailinglist.

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-20 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16657859#comment-16657859
 ] 

Sven Reimers commented on NETBEANS-1359:


Understood. AFAIK I read the code the toCompositeData is called only for 
writing the collected ThreadInfo to the sample output stream. On the read part 
I see
{code:java}
CompositeData infoData;
ThreadInfo thread;

try {
infoData = (CompositeData) in.readObject();
} catch (ClassNotFoundException ex) {
throw new RuntimeException(ex);
}
thread = ThreadInfo.from(infoData);
{code}
So it seems the structure of the CompositeData is an API here, which changed 
between JDK10 and JDK11 so reading a .npss written from an IDE run with 8,9,10 
and read by an IDE running on 11+ will definitely fail? Seems there is more 
involved here, e.g. definition of new .npss format and some more compatibility 
logic? [~jlahoda] What do you think?

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-20 Thread Jan Lahoda (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16657857#comment-16657857
 ] 

Jan Lahoda commented on NETBEANS-1359:
--

Regarding why the internal classes are used: first, am I right that there is no 
public API to convert an instance of ThreadInfo into CompositeData? Assuming 
there's no such API, I asked the original author offline why something like 
'MBeanServer.invoke(, "dumpAllThreads", ...' is not used instead, 
and the answer was performance. My understanding is: this is effectively a 
profiler that runs in the same VM that is profiled. It is therefore crucial the 
overhead is kept minimal. So the current sampler is trying to defer all work 
that can be deferred to the point when the sampling stops (and so the 
additional overhead can't affect the outcomes of the sampling). So while the 
sampling runs, only the ThreadInfos are collected and stored (but to share 
memory, their stack traces are "interned"), and are only converted to 
CompositeData and written out to disk. Using invoke would not only be slower, 
but also more memory intensive, adding more overhead to the sampling. It would 
be ideal if there would be an API method to convert ThreadInfo to CompositeData 
which NetBeans could use.

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-20 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16657841#comment-16657841
 ] 

Sven Reimers commented on NETBEANS-1359:


Fixed is in JDK12-ea b16 and fixed in for upcoming 11.0.2 
[JDK-8212674|https://bugs.openjdk.java.net/browse/JDK-8212674].

Anyone willing to try the fix?

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-17 Thread Mandy Chung (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16653947#comment-16653947
 ] 

Mandy Chung commented on NETBEANS-1359:
---

org.netbeans.modules.sampler.SamplesOutputStream uses a JDK internal API, 
sun.management.ThreadInfoCompositeData, that will become inaccessible when 
strong encapsulation is enabled and you can try to run with 
`--illegal-access=deny`.   What is the reason why javax.management API cannot 
be used to get the CompositeData and replace the use of 
sun.management.ThreadInfoCompositeData?

 

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-16 Thread Laszlo Kishalmi (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16652891#comment-16652891
 ] 

Laszlo Kishalmi commented on NETBEANS-1359:
---

As of this is a JDK issue, shall we comment it in the known issues section of 
our release notes and close this one?

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-15 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16650634#comment-16650634
 ] 

Sven Reimers commented on NETBEANS-1359:


Confirmed JDK bug [https://bugs.openjdk.java.net/browse/JDK-8212197].

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - IDE
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Major
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-14 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16649511#comment-16649511
 ] 

Sven Reimers commented on NETBEANS-1359:


Asked on jdk-dev for clarification 
http://mail.openjdk.java.net/pipermail/jdk-dev/2018-October/002107.html

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - IDE
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Major
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-14 Thread Sven Reimers (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16649443#comment-16649443
 ] 

Sven Reimers commented on NETBEANS-1359:


Here is some first analysis. 

there was a big change in StackTraceElementCompositeData. The exception we are 
seeing (and what I saw in my debugging session) indicates that the sequences, 
which shall be synchronized are indeed broken in JDK 11 (onwards?)

{code}

// CONTENTS OF THIS ARRAY MUST BE SYNCHRONIZED WITH
 // STACK_TRACE_ELEMENT_ATTRIBUTES!

final Object[] stackTraceElementItemValues = {
 ste.getClassLoaderName(),
 ste.getModuleName(),
 ste.getModuleVersion(),
 ste.getClassName(),
 ste.getMethodName(),
 ste.getFileName(),
 ste.getLineNumber(),
 ste.isNativeMethod(),
 };

...

 

private static final String[] V5_ATTRIBUTES = {
 CLASS_NAME,
 METHOD_NAME,
 FILE_NAME,
 LINE_NUMBER,
 NATIVE_METHOD,
 };

private static final String[] V9_ATTRIBUTES = {
 CLASS_LOADER_NAME,
 MODULE_NAME,
 MODULE_VERSION,
 };

private static final String[] STACK_TRACE_ELEMENT_ATTRIBUTES =
 Stream.of(V5_ATTRIBUTES, V9_ATTRIBUTES).flatMap(Arrays::stream)
 .toArray(String[]::new);

{code}

 

As far as I can see the synchronization is broken -> 
{code:java}
Stream.of(V5_ATTRIBUTES, V9_ATTRIBUTES){code}
should be
{code:java}
Stream.of(V9_ATTRIBUTES,V5_ATTRIBUTES){code}
to make the sequence correct.

Digging further...

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - IDE
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Major
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-14 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16649296#comment-16649296
 ] 

Geertjan Wielenga commented on NETBEANS-1359:
-

Same problem with JDK 12 EA, https://jdk.java.net/12. I.e., this is something 
that changed in JDK 11.

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - IDE
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Major
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-12 Thread Laszlo Kishalmi (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16648348#comment-16648348
 ] 

Laszlo Kishalmi commented on NETBEANS-1359:
---

Confirmed. Happened with me as well when I tried to profile excessive CPU usage 
on refreshing on external changes.

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - IDE
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Major
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-07 Thread Glenn Holmer (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16641242#comment-16641242
 ] 

Glenn Holmer commented on NETBEANS-1359:


I traced it through org.netbeans.modules.sampler.Sampler.java, and it seems 
that the catch at line 239 isn't catching the actual error, which is 
javax.management.openmbean.OpenDataException.  Stack trace attached.

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - IDE
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Priority: Major
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-05 Thread Glenn Holmer (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16640268#comment-16640268
 ] 

Glenn Holmer commented on NETBEANS-1359:


Note this occurs only on JDK11 (tried with JDK8 and JDK 10 and it worked 
properly).

 

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - IDE
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Priority: Major
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists