felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ferry Huberts (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-5568) SCR contains compact3 profile code
Date Tue, 28 Feb 2017 17:00:46 GMT

    [ https://issues.apache.org/jira/browse/FELIX-5568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15888444#comment-15888444
] 

Ferry Huberts commented on FELIX-5568:
--------------------------------------

Quick-and-Dirty:

{quote}
    final ThreadGroup currentGroup = Thread.currentThread().getThreadGroup();
    final int noThreads = currentGroup.activeCount();
    final Thread[] lstThreads = new Thread[noThreads];
    currentGroup.enumerate(lstThreads);
    for (int i = 0; i < noThreads; i++) {
      System.out.println();
      System.out.println("Thread No:" + i + " = " + lstThreads[i].getName());
      final StackTraceElement[] st = lstThreads[i].getStackTrace();
      for (final StackTraceElement element : st) {
        System.out.println("  " + element);
      }
    }
{quote}


> SCR contains compact3 profile code
> ----------------------------------
>
>                 Key: FELIX-5568
>                 URL: https://issues.apache.org/jira/browse/FELIX-5568
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-2.0.8
>         Environment: Fedora 25 x64
>            Reporter: Ferry Huberts
>
> {quote}
> $ jdeps -P *.jar |grep compact3
> org.apache.felix.scr-2.0.8.jar -> /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-1.b14.fc25.x86_64/jre/lib/rt.jar
(compact3)
>       -> java.lang.management                               compact3
> {quote}
> Maybe split off the compact3 part as an optional extension/fragment?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message