This limit is imposed by the BOT, where for the byte there are 7 bits available to address offsets within a card, with current (default) ObjectAlignmentInBytes of 8 (= 2^3) this means a limit of 2^10 (=1024) card size.
Try to make maximum representable BOT offset dependent on ObjectAlignmentInBytes so that with higher values for that it can be increased.
Also do some testing if this is actually useful.
- relates to
-
JDK-8272773 Configurable card table card size
-
- Resolved
-