I'm interested in using javac2 feature of checking @NotNull annotations at runtime in production in our company.
One of the questions that bothers me a lot is whether @NotNull checking through bytecode patching in the way javac2 does can decrease performance comparing to the simple not null checking like: if (arg == null) throw new SomeException.
Are there any benchmarks comparing runtime performance? Or maybe my fears can be ruined even without any benchmarks?
Thank you in advance!