Is the same java byte code injection used for Instrumentation feature of JIRA?

Documenatation provided regrading Server Instrumenation is not complete. We are using JIRA in our production. Is their is any risk in using byte code injected code in production.

1 answer

1 accepted

Accepted Answer
0 votes

If you mean you're altering core functionality by injecting classes into a production instance, then absolutely, yes, you're exposing yourself to instability, performance and security issues by injecting byte code.

Then why JIRA team includes this feature in their product. Then with out this instrumentation, how they achieve the Server Instrumentation Feature.

And they accept the risks, and they know what they wrote.

By the way, most people won't know what you're talking about here, and I'm not qualified to talk about a lot of it (my objection to it is generalised and learned the hard way - seeing it done in a trading system which then misplaced millions of dollars and no-one could unravel quite why)

Hi Nic Brough,

Thank you very much for your response. If my question is out of the context,pls forgive. Let me ask one more doubt. Can we use Dynamic Byte Code Instrumentation not for achieving core functionality. Say for example, Logging, Profiling etc. So that injection is done only when it required and retransform it to previous state after the use. But all these things should be done in production environment.

Yes, subject to the caveats above - get DBI wrong, even for basic profiling, and you can kill your service.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

133 views 6 8
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you