Skip to content

Commit

Permalink
Try to fix codeZone initial address on M1
Browse files Browse the repository at this point in the history
  • Loading branch information
PalumboN committed Jul 7, 2022
1 parent ddeb1b9 commit 14a8a45
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion smalltalksrc/VMMaker/VMMemoryMap.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ VMMemoryMap >> allocateCodeZone [

self codeZoneStart = memoryMapConfiguration codeZoneInitialAddress
ifFalse: [
self logError: 'Could not allocate codeZone in the expected place (%p), got %p' _: self codeZoneStart _: memoryMapConfiguration codeZoneInitialAddress.
self logError: 'Could not allocate codeZone in the expected place (%p), got %p' _: memoryMapConfiguration codeZoneInitialAddress _: self codeZoneStart.
self error: 'Error allocating' ].

self codeZoneEnd: codeZoneStart + initialCodeZoneSize.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ VMMemoryMapConfigurationFor64Bits >> codeZoneInitialAddress [

"self cppIf: WIN32 ifTrue: [ ^ 16r440000000 ""17GB"" ]."

^ 16r240000000 "9GB"
^ 16r280000000 "9GB"
]

{ #category : #accessing }
Expand All @@ -25,7 +25,7 @@ VMMemoryMapConfigurationFor64Bits >> newSpaceInitialAddress [

" self cppIf: WIN32 ifTrue: [ ^ 16r480000000 ""18GB"" ]."

^ 16r280000000 "10GB"
^ 16r320000000 "10GB"
]

{ #category : #'initial addresses' }
Expand Down

0 comments on commit 14a8a45

Please sign in to comment.