When i start cvm in c++ as threads, how can i get cvm's memory address .Because i want to point memory address 4 cvm by myself .
what do you mean by "point memory address 4 cvm"?
My means that i want to set memory address(Virtual address ) 4 cvm by myself.
Do you mean the virtual address of where you want to load the CVM code? Or the virtual address of where the .bss and .data segments get located? Or where stack and/or heap memory gets allocated from? For all of these, CVM has no control over where it is loaded. The loading location is currently determined by the OS. It is no different from any C/C++ program you would write.
Or are you asking about some other piece of memory content?
Also, your question seems peculiar. May I ask why you're asking to set this virtual address? What are you trying to achieve? Maybe there is an alternate solution that I can recommend if I can understand your intent better.
Thanks 4 ur replyï¼Œ
Pls wait ,i correct all info ,and show u.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.