-
Enhancement
-
Resolution: Fixed
-
P3
-
hs25
-
b55
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8027094 | 8 | Vladimir Kozlov | P3 | Resolved | Fixed | b113 |
JDK-8034500 | 7u65 | Vladimir Kozlov | P3 | Resolved | Fixed | b01 |
JDK-8027467 | 7u60 | Staffan Friberg | P3 | Closed | Fixed | b01 |
A large part of the G1 write barrier is only used during marking, hence the code it not commonly executed.
To make the active code segments smaller and better fit the cache these unused segments should be schedule outside of the common path.
Setting the the first branch of the pre-barrier check to be unlikely will make the compiler treat the barrier code as cold and hence schedule it outside of the hot path.
This helps to improve the performance of the generated when no concurrent marking is running.
To make the active code segments smaller and better fit the cache these unused segments should be schedule outside of the common path.
Setting the the first branch of the pre-barrier check to be unlikely will make the compiler treat the barrier code as cold and hence schedule it outside of the hot path.
This helps to improve the performance of the generated when no concurrent marking is running.
- backported by
-
JDK-8027094 Schedule part of G1 pre-barrier late
-
- Resolved
-
-
JDK-8034500 Schedule part of G1 pre-barrier late
-
- Resolved
-
-
JDK-8027467 Schedule part of G1 pre-barrier late
-
- Closed
-
- relates to
-
JDK-8130918 G1 barriers are laid out in full on critical path
-
- Closed
-