Skip to content

Commit

Permalink
New memory map addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
PalumboN committed Jul 7, 2022
1 parent 14a8a45 commit c3f7d4a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion smalltalksrc/VMMaker/VMMemoryMap.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ VMMemoryMap >> allocateStackPages: initialStackSize [

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

self stackPagesEnd: self stackPagesStart + sizeToRequest.
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"" ]."

^ 16r280000000 "9GB"
^ 16r300000000 "12GB"
]

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

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

^ 16r320000000 "10GB"
^ 16r340000000 "13GB"
]

{ #category : #'initial addresses' }
Expand All @@ -47,5 +47,5 @@ VMMemoryMapConfigurationFor64Bits >> stackPagesInitialAddress [

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

^ 16r200000000 "8GB"
^ 16r280000000 "10GB"
]

0 comments on commit c3f7d4a

Please sign in to comment.