Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Is this Dependency hell or story about CodeCache?

Today, I want to share my opinion about some improvements in the plugins directory, it’s continued article of OWASP dependencies checks (link). 

As we know last time Atlassian start by design to request CodeCache 512M in (

So based on that general picture we can find the code cache one of the main areas of memory.


Simply put, JVM Code Cache is an area where JVM stores its bytecode compiled into native code. We call each block of the executable native code a nmethod. The nmethod might be a complete or inlined Java method.

The just-in-time (JIT) compiler is the biggest consumer of the code cache area. That's why some developers call this memory a JIT code cache.


 Just to be clear, why do most of apps are a huge memory and time consumers? Most of answer is new functionality, but functionality is not growing exponentially, as a codebase.

  Based on that hypothesis, I investigated the pom.xml in-house apps in my instances and open-source apps, where found a small dependency hell ( .

So let’s start. I have almost 400M of installed plugins in Jira’s home.


  1. Let’s investigate in-house apps, so that’s easy to investigate by maven command from Atlassian SDK.
atlas-mvn dependency:analyze

The output will be like this


As a result, you can investigate the WARNING messages,

to make it periodically it’s helped me

As an example, I have apps 16M, after reviewing the scopes, dependencies it’s starting to be 5.6MB.


2. The same steps you can do with open source apps, e.g. I did with Jira-toolkit app (Atlassian).


As a result you can easier, make a pull request.

Also, jdeps shows interesting points to understand apps are ready for the new Jira or not, if the in-house developer left and you can’t find any source code.



I think in-house developers will do the next easy steps the Atlassian platform will work much efficiently.

  1. Do clean a pom.xml or just use exactly used dependency
  2. Try to maximum reuse dependency like setting in maven <scope>provided</scope>
  3. Please, use up to date the dependency, as can be improved, in different purpose, security or performance improvements or new functionality. Where you can aggregate or review dependencies.

Based on the 3 easy steps we can improve performance and security.

P.S. I will be happy if Atlassian will extend requirements (, by adding the report of OWASP dependency check ( as the required option.

As a result, we can see reduced dependencies which are to improve the performance, because it’s related to the memory, exact functions, up to date dependencies.


Hope it helps.


Gonchik Tsymzhitov


Denis Shestov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Apr 26, 2020

Скажем Спасибо, Гончик, что исследуешь это во благо многих! ;)

Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 26, 2020

@Denis Shestov  Надеюсь, большинство скоро плагины начнутся уменьшаться в размерах


Log in or Sign up to comment
AUG Leaders

Atlassian Community Events