(SOLVED! BY FAKING SYSTEM RANDOM GENERATOR, SEE BELOW)
I'm setting up a VM image for my dev/build team. Inside that VM a Weblogic domain should be running. I use Ububtu server distro, WLS 9.2MP3 + ALSB.
Everything works OK, quite fast, but at the start time the WLS stops twice for a measurable amounts of time. Two stops in total amoun...
I'm looking for virtual machine managers, the more functions the better, that will centrally manage Xen and VMWare virtual machines and hosts. I've come across BixData and LxCenter, but haven't tried them. Has anyone any experience of them, or recommendations for other such tools?
Ignore this, it should be on Server Fault. I've made an...
Hi, today I just tried to play a little bit around with the opcodes in compiled java class file. After inserting
iinc 1,1
the java virtual machine responds with:
Exception in thread "main" java.lang.ClassFormatError: Truncated class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.de...
For those that have glanced through the lua C VM implementation.
Would the use of C++ significantly simplify the implementation?
Thanks!
...
How can I implement tail calls in a custom virtual machine?
I know that I need to pop off the original function's local stack, then it's arguments, then push on the new arguments. But, if I pop off the function's local stack, how am I supposed to push on the new arguments? They've just been popped off the stack.
...
Implementing a custom VM and I've come to use registers (these will store pointers and will be NULL when empty). But, I've come to realize that I actually have no idea how to manage register-based memory. Like, what do I do if all my registers are used up and some code wants another? Preferably, without just creating a new one.
This is i...
I'm writing an interpreter. I've done that before but never tried one which can work with expressions like 3 + 4 * 2 / ( 1 − 5 ) ^ 2 ^ 3.
I'm not having a problem with the parsing process, actually it is about my VM which then executes the code.
My goal was a fast interpreter and so I decided not to use a stack-based VM where you would...
I need to add -Djava.security.policy=myPolicyFile so that my RMI jar would work. Or is there some other way to make that run?
...
I'm designing a custom VM and am curious about how many registers I should use. Initially, I had 255, but I'm a little concerned about backing 255 pointers (a whole KB) on to the stack or heap every time I call a function, when most of them won't even be used. How many registers should I use?
...
I'm implementing a simplistic JIT compiler in a VM I'm writing for fun (mostly to learn more about language design) and I'm getting some weird behavior, maybe someone can tell me why.
First I define a JIT "prototype" both for C and C++:
#ifdef __cplusplus
typedef void* (*_JIT_METHOD) (...);
#else
typedef (*_JIT_METHOD) ();
#en...
I'm developing an in-house .NET application that will be run on a VM (with VMware), and want to know if there's a way to get notifications from VM system events (like suspending, resumed, etc.)
Anyone know of a convenient way to do that? The virtual machine has VMware Tools installed, does that provide a .NET API for hooking events?
E...
Once again, I find myself with a set of broken assumptions. The article itself is about a 10x performance gain by modifying a proven-optimal algorithm to account for virtual memory:
On a modern multi-issue CPU, running
at some gigahertz clock frequency, the
worst-case loss is almost 10 million
instructions per VM page fault. If...
I have always been intrigued and mystified by Virtual Machines and how they operate. I want to learn more about the inner workings of a virtual machine.
Are there any good books on Virtual Machines/Virtual machine designs/Tour of a sample machine?
How do I go about studying one? Do I pick up a spec for the JVM or start with the LLVM?...
Hi All,
My doubt is regarding iPhone "VM Tracker" memory management tool. I have been trying out this tool with my project and found that the "dirty size" column is showing 55 MB, which is quite huge. It would be great help if someone could answers the following
How could I see which variables are the cause of "dirty" size?
32MB memor...
I'm running a Windows 7 VM via Parallels on OSX. There's an instance of SQL Server running on that VM. I would very much like to be able to connect to that instance from my host (OSX). I want to be able to leverage my local RoR environment with SQLServer as a backend.
I can't get the VM to respond to any requests from my Mac and I ha...
Long shot: I run an ubuntu 10.4 machine under VMware, Windows 7 host. I use it more and more as my primary machine, and wish now that I had installed it as a dual boot system, since the sluggishness of the vm is a continual irritation. So -- is it possible somehow to convert the ubuntu system to run natively?
If not, are there any to...
Hello everyone I'm currently implementing a simple programming language for learning experience but I'm in need of some advice. Currently I'm designing my Interpreter and I've come into a problem.
My language is a subset of C and I'm having a problem regarding the stack interpreter implementation. In the language the following will comp...
Hi,
In .NET, when you have a delegate that only has an empty method subscribed to it, does the .NET VM realize this and skip even calling it?
I'm asking because I noticed that the invocation count is set to 2 when you subscribe once but when you unsubscribe it, the value goes down to 0 (not 1).
Thanks in advance.
Daisuke
...
I've been using my Opensolaris BOX for while, with 6 internals drives under ZFS. More recently I've been playing with ESXi and i've got to say this platform is amazing; therefor my plan is to buy a nice SSD drive, install ESXi, create a VM with OpenSolaris and add my 6 disks into the vm and do a zpool import and all my data will be there...
I thought about using the following code, but is there any cleaner way?
Process theProcess = Runtime.getRuntime().exec("java -d64 -version");
BufferedReader errStream = new BufferedReader(new InputStreamReader(theProcess.getErrorStream()));
System.out.println(errStream.readLine());
...