Skip to content

Commit e971a1e

Browse files
committed
Fix ShenandoahConstants.java (and an unrelated build issue that was fixed upstream with oracle#12373)
1 parent e68c3da commit e971a1e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sdk/mx.sdk/mx_sdk_vm_impl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2994,7 +2994,7 @@ def base_jdk_version_info():
29942994
if version_type == 'vendor':
29952995
graalvm_suffix = ''
29962996
if java_pre:
2997-
graalvm_suffix += '.' if graalvm_version.endsWith('dev') else '-'
2997+
graalvm_suffix += '.' if graalvm_version.endswith('dev') else '-'
29982998
graalvm_suffix += java_pre
29992999
else:
30003000
assert version_type == 'base-dir', version_type

substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/gc/shenandoah/ShenandoahConstants.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@
4040
* an array of values (i.e., one value per debug-level).
4141
*/
4242
public class ShenandoahConstants {
43-
private static final int TLAB_TOP_OFFSET = 104;
44-
private static final int TLAB_END_OFFSET = 120;
43+
private static final int TLAB_TOP_OFFSET = 384;
44+
private static final int TLAB_END_OFFSET = 400;
4545
private static final byte DIRTY_CARD_VALUE = 0;
46-
private static final int[] JAVA_THREAD_SIZE = {280, 312, 312};
46+
private static final int[] JAVA_THREAD_SIZE = {560, 592, 592}; // product, fastdebug, debug
4747

4848
@Fold
4949
public static int tlabTopOffset() {

0 commit comments

Comments
 (0)