Тёмный

Java Bytecode Crash Course 

Oracle Developers
Подписаться 101 тыс.
Просмотров 55 тыс.
0% 0

developer.oracle.com/

Наука

Опубликовано:

 

9 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 42   
@124mun
@124mun 3 года назад
Literally stumbled upon this but ended up watching the whole thing cuz of how brilliantly he explained it. Hats off 👏
@sebon11
@sebon11 Год назад
Did he? It all was nice, but that's all, still there was a looot of unclear things here...
@anglikai9517
@anglikai9517 3 года назад
Wow, that is brilliant. Thanks !
@zoom8304
@zoom8304 3 года назад
Thank you so much. Loved your presentation and learning from you
@Jakob6174
@Jakob6174 4 года назад
That was bloody brilliant, thank you soo much.
@devenderkumar6521
@devenderkumar6521 4 года назад
🔙
@devenderkumar6521
@devenderkumar6521 4 года назад
0
@xortha3271
@xortha3271 4 года назад
Great talk!
@johnlongaski2715
@johnlongaski2715 Год назад
OMG I was trying to fix some dumb java asm thing I was making while playing this in the background and didn't realize the method was static cuz I stayed up all night xD. When u mention static invocation doesn't have a this pointer it made me realize that is whats wrong. My dumbass didn't realize it was static for ages and thought maybe it was somehow making the first local var index the first method param. Thank you so much idk how long I would of been stuck with that
@brendanli5488
@brendanli5488 3 года назад
excellent explanation!!!
@gevorg827
@gevorg827 2 года назад
Does anyone here knows how do you make a new Scanner and ask the user for input in Jasmin bytecode?
@duckydude20
@duckydude20 6 месяцев назад
sometimes, the RU-vid algorithm can do wonders. i like it. thanks for such an awesome talk... :) now it actually seems easier than asm.
@cheezeworm
@cheezeworm Год назад
god i love this speaker so much
@ZemenFidel
@ZemenFidel Год назад
Very lucid explanation. But the video would've looked a lot nicer if the slides were placed on the left and the speaker on the right.
@MatthiasBloch
@MatthiasBloch 3 года назад
Nice talk! Short question: <a href="#" class="seekto" data-time="1920">32:00</a>: Instruction Index 8: Why is the long variable l2 loaded from constant pool index #3? I thought it should have been #4 Follow up question: How does the constant pool for this particular example look like? Thanks you!
@AndriusKaliacius
@AndriusKaliacius 3 года назад
why did you think it should've been #4?
@MindlessMegaLawl
@MindlessMegaLawl 3 года назад
Because #3 is the first part of the double, #4 is the second part, likely implicit
@asagk
@asagk 3 года назад
From the sparse explanation about arguments on calls and return values it remains unclear to me weather the VM implements the return stack separately from the data/calculation stack or there is some hidden is going on in the shades. So what is it then for real about argument passing and return addresses on the stack? Another aspect unclear to me: In <a href="#" class="seekto" data-time="1901">31:41</a> arguments come as arguments in local variables, but when the call is presented (<a href="#" class="seekto" data-time="2049">34:09</a>) the arguments are provided by pushing on the stack, instead of of being passed as arguments in the locals registers. What is it now for real? On the stack or as arguments or in the locals registers? Just wondering ...
@paschikshehu7988
@paschikshehu7988 3 года назад
Thanks for pointing that out; I actually came here just for that
@tanveerhasan2382
@tanveerhasan2382 2 года назад
But I don't think JVM has registers to work with
@nigabals566
@nigabals566 2 года назад
started off really well but was really rushed after about the 40th minute :/
@astaghfirullahalzimastaghf3648
@astaghfirullahalzimastaghf3648 2 года назад
@<a href="#" class="seekto" data-time="511">8:31</a> I don't understand.. Why he said the program does not use CPU register? Only use the stack to add two numbers together? How is that possible?
@tanveerhasan2382
@tanveerhasan2382 2 года назад
JVM is an abstraction over a CPU. The underlying machine code that translated from the byte code will use registers. But in JVM there are no registers
@stavros222
@stavros222 Год назад
How will locals up to 4 will be written? for example iload_4 and iload_5?
@mabed6692
@mabed6692 Год назад
There is iload instruction, which takes 1 byte operand. The operand is locals index. So instead of iload_4 (1-byte instruction) it will be iload 4 (1-byte instruction + 1-byte operand).
@DF-ss5ep
@DF-ss5ep Год назад
How can the JVM has a heap of more than 4GB? Surely in 64-bit mode, references use "2 slots".
@DaedalusCommunity
@DaedalusCommunity 6 месяцев назад
If I understand this correctly, unlike in C, the references are not to memory addresses but to stuff like classes. Thus the limit is not to the amount of memory you can address, but to the number of classes you can reference, and that number is never gonna get to the max you can address with 32 bits
@deepakumardeepak
@deepakumardeepak 7 месяцев назад
CLASS
@johnlongaski2715
@johnlongaski2715 Год назад
<a href="#" class="seekto" data-time="749">12:29</a> I thought for a second he said “act sus” xD
@theglorioussapphiremonkey4750
@theglorioussapphiremonkey4750 4 года назад
The audio is kind of low :(
@Darrell-Hunt
@Darrell-Hunt 3 года назад
So source code is for babies I wanna know bytecode and why it’s how it is
@omeraydindev
@omeraydindev 3 года назад
<a href="#" class="seekto" data-time="560">9:20</a> in, just a future reference for myself
@ikiddoistudio64
@ikiddoistudio64 3 года назад
future
@Anurag_Saxena
@Anurag_Saxena 2 года назад
<a href="#" class="seekto" data-time="1200">20:00</a>:00
@vadimkot2354
@vadimkot2354 Год назад
next time please normalize audio, I barely can hear him
@sussus4914
@sussus4914 3 года назад
Use of red as means to highlight code was a very stupid idea.
@mahkhi7154
@mahkhi7154 Месяц назад
This Java Bytecode is Like C. Your God: Nothing Better Than C. Its Very Portable. Works on X86, ARM, PowerPC, Sparc. The Dalvik / Android Byte Code is Like C++. Less Portable. Will Only work on Sony's ARM CPU's and Intel. Wont work Well on PowerPC, Sparc.
@abunapha
@abunapha 4 года назад
can't hear anything
@officialsebgaming
@officialsebgaming 3 года назад
9 Comments
@allarehere3012
@allarehere3012 Год назад
Speak louder it's not audible
@mabed6692
@mabed6692 Год назад
So much inefficient bytecode, mainly due to poor desing. I know it's from 1995, but still...
@beingnikhil155
@beingnikhil155 3 года назад
This talk is a torture
Далее
The Java memory model explained, Rafael Winterhalter
48:01
Java Performance Puzzlers by Douglas Hawkins
46:49
Просмотров 28 тыс.
JVM Bytecode for Dummies (and the Rest of Us Too)
50:34
Rafael Winterhalter - The definite guide to Java agents
1:00:48
Solving Java Memory Leaks
45:06
Просмотров 31 тыс.
Object-Oriented Programming is Bad
44:35
Просмотров 2,3 млн
A JVM Does That??? by Dr Cliff Click
51:59
Просмотров 19 тыс.
Premature Optimization
12:39
Просмотров 769 тыс.
Troubleshooting Memory Problems in Java Applications
42:37
The Flaws of Inheritance
10:01
Просмотров 907 тыс.
ИГРОВОВЫЙ НОУТ ASUS ЗА 57 тысяч
25:33