Guido Medina

Results 22 comments of Guido Medina

Maybe I take this one, one idea would be to have a factory method on the `Enum` so that each `HolidayParameter` is instantiated using the such factory method. WDYT?

I'll take a look sometime around the weekend, my idea is to completely avoid reflection and just use some factory function, I'm thinking to add such factory function to `HolidayCalendar`...

I'm trying to make the code compile on IntelliJ and outside using Maven directly but I'm getting the following error: ``` [ERROR] Failed to execute goal org.codehaus.mojo:jaxb2-maven-plugin:2.3.1:xjc (generate) on project...

Ignore the previous comment, the issue was related to Java 9, as soon as I pointed the project to Java 8 everything worked.

This is also causing Tomcat (to give an example) not to shutdown properly if there is a problem connecting to a MQTT server, it would be really nice to have...

A lock has a potential of causing a context switch while a volatile doesn't, a lock is at least twice expensive than a volatile counterpart, specially for only reading the...

I know that the value can change between reads, I thought you would figure I meant only the whole if-then-else section: ``` final Responder responder = this.responder; try { return...

A context switch might happen for many reasons, specially the ones caused by the CPU scheduler but why should we add up to it? If we can avoid it by...

Try `–XX:+UseG1GC` to have a very consistent GC, you will see a big difference and won't need a page long of CMS parameters.

Do you know that as a fact? G1GC is both parallel and concurrent. It is an active GC with the lowest time on stop world pauses, I have used it...