[ 
https://issues.apache.org/jira/browse/MNEMONIC-460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16351294#comment-16351294
 ] 

Wang, Gang commented on MNEMONIC-460:
-------------------------------------

Helper and verification code has been added to project, Run the following 
command got the result as below

 
{code:java}
$mvn exec:exec -Phelloworld -pl mnemonic-examples
{code}
{noformat}
Hello World!
The address of this durable string object: 0x00000000ED9439B4
The hash code of this durable string object: 0xC63CB61D
A string returned from the durable buffer: hello
The original string with the content of this durable buffer changed: hello
A new string returned from the same durable buffer: world
The address of the content of this durable buffer: 0x00007F1128008008
The base address of this memory space: 0x00007F1127FFF000
{noformat}
The result shows the String has been copied when it returns from a durable 
buffer and the durable buffer do in place updates.

 

> Add helper code to verify the heap memory usage of data structures 
> -------------------------------------------------------------------
>
>                 Key: MNEMONIC-460
>                 URL: https://issues.apache.org/jira/browse/MNEMONIC-460
>             Project: Mnemonic
>          Issue Type: Improvement
>          Components: Memory-Service
>            Reporter: Johnu George
>            Assignee: Wang, Gang
>            Priority: Major
>             Fix For: 0.1.2-incubating
>
>
> Add helper code to verify heap memory usage of data structures (eg:String) 
> when accessed from application space



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to