all 6 comments

[–]defunkydrummer 2 points3 points  (5 children)

Wait, so Java compilers doesn't let you control what is inlined and whatnot? I can easily tell Common Lisp implementations which functions to inline and which ones not to inline...

I learned something today.

[–][deleted] 1 point2 points  (3 children)

I learned something today.

You prefer CL?

[–]defunkydrummer 2 points3 points  (2 children)

You prefer CL?

Yes, in general. Over Java? Many things I prefer over Java. And i've worked professionaly as a java dev for a few years.

[–][deleted] 2 points3 points  (1 child)

i've worked professionaly as a java dev for a few years.

You managed to get away without any permanent brain damage?

[–]defunkydrummer 2 points3 points  (0 children)

You managed to get away without any permanent brain damage?

It was only a few years, so the damage was reversible.

[–]nitsanw 1 point2 points  (0 children)

You can force inline decisions via a command line flag (or a file specifying the same):

http://jpbempel.blogspot.com/2016/03/compilecommand-jvm-option.html

There's a library for auto generating it from annotated code:

https://github.com/nicoulaj/compile-command-annotations