Save {{ articles[0].views | formatCount}} Views Join the DZone community and get the full member experience. Join For Free "I love writing authentication and authorization code." ~ No Developer Ever. Try Okta Instead. Recently, I’ve been working on a Java application that suffered some serious performance issues. Among many problems, the one that really grabbed my attention was a relatively slow allocation rate of new objects (the application was allocating a massive amount of rather large objects).
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Articles by Grzegorz Mirek
The Right Flow for the Job: Which OAuth 2.0 Flow Should I Use?
Save {{ articles[0].views | formatCount}} Views Join the DZone community and get the full member experience. Join For Free Discover how to provide active runtime protection for your web applications from known and unknown vulnerabilities including Remote Code Execution Attacks. What Is What in OAuth 2.0 OAuth 2.0 is a well-adopted delegated authorization framework that is already with us for many years and seems to be here to stay.
Do You Really Know CORS?
No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin http://www.sesamestreet.com is, therefore, not allowed access. If you work with a frontend, sometimes, the chances are that you’ve seen the error above before. When it had happened to you for the first time, as any proper developer does, you googled it. As a result, you have probably seen some advice on StackOverflow that includes in your server’s response, and then, you can happily return to your code.
Do You Really Know CORS?
No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin http://www.sesamestreet.com is therefore not allowed access. If you work with a frontend sometimes, the chances are that you’ve seen the error above before. When it had happened to you for the first time, like any proper developer does, you googled it. As a result, you have probably seen some advice on StackOverflow to include in your server’s response and then, you can happily return to your code.
Debugging in Production
In one of my first jobs, one of the tasks I had was to fix a bug which used to occur from time to time in a very complex production system. "That is easy!" I thought. "I will reproduce the same situation in my development environment, find the broken line, implement a quick fix, and it’s done!" However, it turned out that reproducing exactly the same scenario which occurred in production was not possible, so after some time, I gave up this idea.
Understanding Java Buffer Pool
The buffer pool space is located outside of the garbage collector-managed memory. It’s a way to allocate native off-heap memory. What’s the benefit of using buffer pools? To answer this question, let’s first learn what byte buffers are. package comes with the class. It allows us to allocate both direct and non-direct byte buffers. There is nothing special about non-direct byte buffers—they are an implementation of created by and factory methods.
Show More
loading
Actions
Is this you?
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.Get in touch with Grzegorz
Contact Grzegorz, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack