WARNING! Access to this system is limited to authorised users only.
Unauthorised users may be subject to prosecution.
Unauthorised access to this system is a criminal offence under Australian law (Federal Crimes Act 1914 Part VIA)
It is a criminal offence to:
(1) Obtain access to data without authority. -Penalty 2 years imprisonment.
(2) Damage, delete, alter or insert data without authority. -Penalty 10 years imprisonment.
User activity is monitored and recorded. Anyone using this system expressly consents to such monitoring and recording.

To protect your data, the CISO officer has suggested users to enable 2FA as soon as possible.
Currently 2.7% of users enabled 2FA.

Commit 58bb710f authored by Kunshan Wang's avatar Kunshan Wang
Browse files

Fixed a bug which improperly aborts defragmentation.

Also changed the default memory size to 1GiB for bigger applications.
parent bcb40c0c
......@@ -5,7 +5,7 @@ import java.nio.ByteBuffer
import uvm.ssavariables.AtomicRMWOptr._
object MemorySupport {
val MEMORY_SIZE: Word = 64L * 1024L * 1024L
val MEMORY_SIZE: Word = 1024L * 1024L * 1024L
val bb: ByteBuffer = ByteBuffer.allocateDirect(MEMORY_SIZE.toInt)
......@@ -55,7 +55,7 @@ class SimpleImmixDefragMutator(val heap: SimpleImmixHeap, val space: SimpleImmix
logger.debug("got new reserved block.")
if (curBlockAddr == None) {
logger.debug("No more reserved blocks. Cannot defragment.")
return 0
throw new NoMoreDefragBlockException("No more blocks for defrag.")
} else {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment