Skip to content

Commit 760992e

Browse files
authored
Raise MAX_METHODS limit in Multicore JIT (#119359)
* Increase MAX_METHODS limit in Multicore JIT from 0x4000 to a higher value
1 parent 1562101 commit 760992e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr/vm/multicorejitimpl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const unsigned MODULE_MASK = 0xffff; // mask to get module index
3333
const unsigned MODULE_LEVEL_OFFSET = 16; // offset of module load level
3434
const unsigned MAX_MODULE_LEVELS = 0x100; // maximum allowed number of module levels (2^8 values)
3535

36-
const unsigned MAX_METHODS = 0x4000; // Maximum allowed number of methods (2^14 values) (in principle this is also limited by "unsigned short" counters)
36+
const unsigned MAX_METHODS = 0xffff; // Maximum allowed number of methods (2^16-1 values) (in principle this is also limited by "unsigned short" counters)
3737

3838
const unsigned SIGNATURE_LENGTH_MASK = 0xffff; // mask to get signature from packed data (2^16-1 max signature length)
3939

0 commit comments

Comments
 (0)