JVM Bytecode for Dummies (and the Rest of Us Too)

  Рет қаралды 54,469

Oracle Learning

11 жыл бұрын

You've written applications for the JVM, using various frameworks and maybe even various languages. You understand how to rig up the CLASSPATH, get .class files to load, compile source, and set up an IDE. But you've always wanted a better understanding of the plumbing underneath. How does JVM bytecode work? How does the JVM itself work? This presentation walks you through JVM and JVM bytecode basics, with lots of examples of how to bend the JVM to your whims.
Copyright © 2013 Oracle and/or its affiliates. Oracle® is a registered trademark of Oracle and/or its affiliates. All rights reserved. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the "Materials"). The Materials are provided "as is" without any warranty of any kind, either express or implied, including without limitation warranties of merchantability, fitness for a particular purpose, and non-infringement.

Пікірлер: 23
@paulojmsilva82
@paulojmsilva82 8 жыл бұрын
Second part link: kzbin.info/www/bejne/ZorYlWeHZ614sJY
@bonbonpony
@bonbonpony 6 жыл бұрын
15:57 If they're really that concerned about size, they wouldn't be stuffing the .class files with so much useless data. The bytecode is usually less than 1% of the .class file, while the constant pool takes roughly 90% of it, with a LOT of repetition and redundancy! :P
@alekseykolesnikov1412
@alekseykolesnikov1412 6 жыл бұрын
there is a mistake at 15:33. The instruction mnemonic is icosnt_[m1-5], not iload_[m1-5]
@quaternaryyy
@quaternaryyy 7 жыл бұрын
Really wish they showed the actual java bytecode instead of the weird Ruby pet project...
@vetiarvind
@vetiarvind 4 жыл бұрын
I think it helps clean-up the presentation
@ioriogami
@ioriogami 4 жыл бұрын
dup2_x2 is to push to the slot 4 instead of 3. the demo is actually dup2_x1, right?
@ShivaKumar-it1yc
@ShivaKumar-it1yc 10 жыл бұрын
Aggelos Biboudis before commenting you should watch, its a good one.
@petercheung63
@petercheung63 Жыл бұрын
professional, thank you Sir
@prithwin
@prithwin 7 жыл бұрын
Hi, how did it store the string hello in the 32bit wide stack, also when you said array objects need to be on the stack. does that mean that all the contiguous memory locations need to be on the stack.?
@LambOfDemyelination
@LambOfDemyelination 5 жыл бұрын
It just stores a pointer doesn't it, not the whole thing on the stack.
@isapir
@isapir 6 жыл бұрын
Excellent presentation, thank you
@badhaiarun
@badhaiarun 9 жыл бұрын
where static string memory will be allocated.
@jonassx100
@jonassx100 6 жыл бұрын
Arun Badhai method area
@rahulpatil4144
@rahulpatil4144 5 жыл бұрын
In method area scp
@Levi90001
@Levi90001 5 жыл бұрын
Starts at 2:50
@BenjaminChengCS
@BenjaminChengCS 10 жыл бұрын
Anyone know a link to the part 2 mentioned?
@Dimass036
@Dimass036 9 жыл бұрын
+Benjamin Cheng That link is broken, this talk seems to be on the same topic, though it'd been given earlier: vimeo.com/41968163
@JGunlimited
@JGunlimited 5 жыл бұрын
I think it's this one - kzbin.info/www/bejne/fJ-neaNpht6UbNU
@programacion3694
@programacion3694 Жыл бұрын
interesante.
@布雷-z7h
@布雷-z7h 6 жыл бұрын
good vedio
@askhowiknow5527
@askhowiknow5527 6 жыл бұрын
布雷 Video, not vedio
@布雷-z7h
@布雷-z7h 6 жыл бұрын
ok.
MY HEIGHT vs MrBEAST CREW 🙈📏
00:22
Celine Dept
Рет қаралды 13 МЛН
Хасанның өзі эфирге шықты! “Қылмыстық топқа қатысым жоқ” дейді. Талғарда не болды? Халық сене ме?
09:25
Демократиялы Қазақстан / Демократический Казахстан
Рет қаралды 300 М.
Life hack 😂 Watermelon magic box! #shorts by Leisi Crazy
00:17
Leisi Crazy
Рет қаралды 79 МЛН
Cómo pensaba que sería el iPhone 16 😭
0:12
Alan
Рет қаралды 2,7 МЛН
Evolution of the Samsung Galaxy
0:50
ios_aesthetics
Рет қаралды 9 МЛН
Is this Samsung's change over time #shorts
0:13
Si pamerR
Рет қаралды 1,5 МЛН
Can I Unlock My Tesla With a Google Nest Mini?? 😳👀
0:31
Tesla Flex
Рет қаралды 1,4 МЛН