{"id":18005341,"url":"https://github.com/c-rainstorm/jvm","last_synced_at":"2025-07-29T15:16:32.196Z","repository":{"id":108022891,"uuid":"219146977","full_name":"c-rainstorm/jvm","owner":"c-rainstorm","description":"参照《自己动手写Java虚拟机》，一步一步构建小型JVM","archived":false,"fork":false,"pushed_at":"2019-12-28T12:12:26.000Z","size":216,"stargazers_count":9,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T08:38:02.630Z","etag":null,"topics":["build-your-own-x","golang","java","jvm"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/c-rainstorm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-02T11:54:22.000Z","updated_at":"2025-04-03T20:10:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"f609865b-14e4-47b1-885d-5651abd3264e","html_url":"https://github.com/c-rainstorm/jvm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/c-rainstorm/jvm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c-rainstorm%2Fjvm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c-rainstorm%2Fjvm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c-rainstorm%2Fjvm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c-rainstorm%2Fjvm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/c-rainstorm","download_url":"https://codeload.github.com/c-rainstorm/jvm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c-rainstorm%2Fjvm/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267707127,"owners_count":24131331,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["build-your-own-x","golang","java","jvm"],"created_at":"2024-10-30T00:19:07.337Z","updated_at":"2025-07-29T15:16:32.154Z","avatar_url":"https://github.com/c-rainstorm.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 自己动手写 JVM\n\n## 项目规范\n\n1. 项目结构规范遵循 [golang-standards/project-layout](https://github.com/golang-standards/project-layout)\n2. 日志输出统一使用 [logrus](https://github.com/sirupsen/logrus)\n\n## 实现计划\n\n- [x] 确定项目结构\n- [x] 命令行参数解析\n- [x] 实现类路径，获取指定类的 `class` 字节流\n- [x] 实现 `class` 字节流的解析\n- [x] 实现线程私有运行时数据区\n- [x] 实现解释器及部分JVM指令\n- [x] 实现类加载器、方法区、部分引用类类指令\n- [x] 实现方法调用和返回指令\n- [x] 实现数组相关指令和字符串池\n- [x] 实现本地方法,如 `Objec.hashCode()`\n- [x] 实现 `athrow` 指令进行异常处理\n- [ ] ~~实现 `System.out.println()`，并成功输出 `Hello world!`~~\n\n## 下载\n\n```bash\ngo get github.com/c-rainstorm/jvm\n```\n\n## 协议声明\n\nMIT\n\n## 参考\n\n- 《自己动手写Java虚拟机》\n- 《深入理解Java虚拟机》\n- [《OpenJDK - jdk8u/jdk8u》](https://github.com/unofficial-openjdk/openjdk/tree/jdk8u/jdk8u)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc-rainstorm%2Fjvm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fc-rainstorm%2Fjvm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc-rainstorm%2Fjvm/lists"}