-
Bug
-
Resolution: Fixed
-
P3
-
11, 17, 18, 19, 20
-
b04
-
aarch64
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8294453 | 19.0.2 | Tobias Hartmann | P3 | Resolved | Fixed | b02 |
JDK-8291010 | 17.0.5-oracle | Tobias Hartmann | P3 | Resolved | Fixed | b04 |
JDK-8291487 | 17.0.5 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
JDK-8289045 | 11.0.17-oracle | Tobias Hartmann | P3 | Resolved | Fixed | b04 |
JDK-8291620 | 11.0.17 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
address MacroAssembler::trampoline_call(Address entry, CodeBuffer* cbuf) {
...
if (far_branches()) {
...
address stub = emit_trampoline_stub(offset(), entry.target());
if (stub == NULL) {
postcond(pc() == badAddress);
return NULL; // CodeCache is full
}
}
}
MacroAssembler::trampoline_call supports relocInfo types: runtime_call_type, opt_virtual_call_type, static_call_type or virtual_call_type. Targets of opt_virtual_call_type, static_call_type or virtual_call_type are always inside CodeCache. Targets of runtime_call_type can be outside CodeCache and a distance to them can be bigger than 128M. If CodeCache size is less than 128M, a trampoline won't be created for such targets.
If a target is outside CodeCache we should check whether the maximum possible distance to the target is below 128.
- backported by
-
JDK-8289045 Trampoline not created for far runtime targets outside small CodeCache
- Resolved
-
JDK-8291010 Trampoline not created for far runtime targets outside small CodeCache
- Resolved
-
JDK-8291487 Trampoline not created for far runtime targets outside small CodeCache
- Resolved
-
JDK-8291620 Trampoline not created for far runtime targets outside small CodeCache
- Resolved
-
JDK-8294453 Trampoline not created for far runtime targets outside small CodeCache
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/8a88a695
-
Commit openjdk/jdk17u-dev/186745e8
-
Commit openjdk/jdk19u/30294b3a
-
Commit openjdk/jdk/bf0623b1
-
Review openjdk/jdk11u-dev/1276
-
Review openjdk/jdk17u-dev/600
-
Review openjdk/jdk19u/28
-
Review openjdk/jdk/9235