Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/x4e/javaception
A Java Virtual Machine running on a Java Virtual Machine. Mirrored from https://sr.ht/~x4e/javaception/.
https://github.com/x4e/javaception
java jvm vm
Last synced: about 1 month ago
JSON representation
A Java Virtual Machine running on a Java Virtual Machine. Mirrored from https://sr.ht/~x4e/javaception/.
- Host: GitHub
- URL: https://github.com/x4e/javaception
- Owner: x4e
- License: lgpl-3.0
- Created: 2021-02-25T15:39:48.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-02T18:50:07.000Z (about 3 years ago)
- Last Synced: 2024-07-11T02:15:28.093Z (6 months ago)
- Topics: java, jvm, vm
- Language: Java
- Homepage: https://sr.ht/~x4e/javaception/
- Size: 208 KB
- Stars: 36
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# Javaception
A Java Virtual Machine - running on a Java Virtual Machine - running on a (jk).
# Goals
* JVMS compliant Java Virtual Machine
- Still unclear which JVMS version to follow.
We will probably aim for JVMS 8 compliance due to huge complexity increases since.
Some more modern but simple features can be added (e.g. frozen arrays).
* Somewhat fast
- We want to be able to virtualise select methods with decent speed however virtualising entire applications is not within our goals - it should be possible but not necessarily fast or practical.
* Java API for applications to virtualise and debug Java code incl hooks, events...
* Multiple VMs in a single process
- OpenJDK only supports one VM per process.
For javaception to be effective as an API for virtualising select Java code it should be possible to create multiple VMs in one process, allowing seperate code to use javaception at the same time, or the same code using it on multiple threads.
* Resistant to non verifiable bytecode (to a reasonable extent)# Non Goals
* Match OpenJDK specific behaviour
* Class file verification
* Alternative specs like JDK, JDWP, JVMTI etc# Contributing
Javaception has an official git repository hosted at `https://git.sr.ht/~x4e/javaception` and `[email protected]:~x4e/javaception`.
You can edit files in the repository and test them by running `mvn verify` (make sure you have maven and a jdk installed).
Once you are happy with your changes you can submit them by following the guide at https://git-send-email.io/ and using the mailing list `~x4e/[email protected]`.
# Discussion and Support
If you want to discuss the project, request support, or just send your appreciation, send an email to the official mailing list at `~x4e/[email protected]`.
You can also subscribe to the mailing list at https://lists.sr.ht/~x4e/javaception.# Licensing
Javaception: A Java Virtual Machine implementation written in Java.
Copyright (C) 2021 x4eThis program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.You should have received a copy of the GNU General Public License
along with this program. If not, see .