#1

h will state "certain special case, dispa

in Begrüßung 21.10.2019 05:38
von xuezhiqian123 • 668 Beiträge

This technique yields a straightforward and straight-forward code Foster Moreau Raiders Jersey , and that isn't astounding: we simply call the static strategy. Static strategies are likewise statically bound, which implies we don't have to determine what technique should we bring in runtime. We know precisely what strategies we are going to call statically, at aggregate time.
A similar thing applies to our own particular private methods, they are likewise statically resolvable. How could we figure a thing about Coder0. Static Work() body? All things considered, the first get together dump will state that mov 0xc(%r12,%r11,8),% eax is "array length" in mask Isaiah Johnson Raiders Jersey , yet what does it really mean? What you are taking a gander at is the "deciphering" of the packed reference, converged with the genuine read. That guideline is what might as well be called stacking %r12 + %r11*8 + 0xc, where %r12 is a base address, %r11 is the compacted address of information, 8 is the packed references multiplier, and 0xc is a balanced of length field inside the byte[] cluster.
The nearness of these rich tending to modes in current CPUs is one reason why packed references usage give a tolerable created code overhead. If all else fails, you can simply dump the get together with packed references impaired (- XX:- Use Compressed Oops) Another fascinating inquiry is about invalid checks. Java spec requires to check the byte[] occasion for invalid before surveying its length.
We know the length is put away inside the byte[] case in any case, so we require a non-invalid example in the created code. Would you be able to recognize the invalid check in the get together above? You can't Maxx Crosby Raiders Jersey , on account of there is no unequivocal invalid check there. All in all, how might runtime fit the determination commitments or possibly not crash? The insight is in the full gathering dump, which will state "certain special case, dispatches to $ addr " against the mov direction. De-referencing the invalid pointer will make CPU cause SEGV flag to the procedure. Fortunately, VM has the SEGV handler furnished that can deal with this, and toss a suitable Null Pointer Exception, exchange the control back, and so on. Since SEGV occasion has an arrival address Trayvon Mullen Raiders Jersey , VM knows and soon thereafter in the created code the invalid check had let go.
This enhancement extraordinarily enhances the execution of universal invalid checks ensured by Java. The main outstanding part, other than %rbp (stack pointer) dealing with, is the test %eax ,0x15f7c4e0 (%rip). This appears to be mysterious, since the status signals this direction would set are not utilized. Why this guideline is even there? On the off chance that you investigate the crude get together dump, you will see "# survey" remark against that line,
this should give you a

nach oben springen


Besucher
0 Mitglieder und 2 Gäste sind Online

Forum Statistiken
Das Forum hat 2206 Themen und 11538 Beiträge.

Xobor Ein Xobor Forum
Einfach ein eigenes Forum erstellen