r/javahelp • • Jun 26 '18

What would you like to learn about Java Virtual Machine (JVM)?

I am working on a video course for Java Virtual Machine. I wanted to take feedback on what are some of the things people find challenging about JVM. I would request 30 seconds of your time to contribute to this survey.

https://goo.gl/forms/3QOQBfjedNVpxhOl2

16 Upvotes

7 comments sorted by

5

u/ItsAHardwareProblem Jun 26 '18

I'm not sure the skill level of the target audience you are looking for, but an in depth look at JVM configurations for performance tuning and security, the why and when's, ect. would be neat

3

u/harit66 Jun 26 '18

Thanks a ton friend, I would keep this in mind

1

u/RevBooyah Jun 26 '18

I concur!

2

u/[deleted] Jun 27 '18

How serialization works through jvm

3

u/[deleted] Jun 27 '18

Also how scanner class type things (i.e. streams) work with jvm

1

u/GeorgeTibo Jun 26 '18 edited Jun 26 '18

Who's your target audience with this?

Going over the JVM memory model might help a lot of people. You could easily provide real examples by utilizing the String#intern() method and the java.lang.ref.Reference interface.

Another good conversation piece could be JIT and hotspots. It would be fairly easy to explain the trade-offs of JIT. Some examples could involve inspecting code at runtime through a debugger like VisualVM, which if I recall correctly, will provide some hotspot information. This could even be beneficial to less-experienced programmers since it could provide insight as to why code needs to "warm up" and why Java 9 introduced jaotc.

Bytecode is also a very commonly covered topic. I doubt much more needs to be said about that. If you could provide easily-understandable discussion about invokedynamic, that would be great. It took me quite a while to get the big picture on that, since there is really only one Oracle-published article on the matter.

Just some things to think about.