microsoft / microsoft/openjdk

Build and Ship MS JDK with mimalloc as the default memory allocator.

Open
#588 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
No language data
Stars
345
Forks
21
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
Stock system allocator on most platforms is mediocre. Microsoft works on what is arguable the best general purpose allocator in existence at the moment in the form of mimalloc.

Describe the solution you'd like
Build and ship mimalloc with msjdk in place of system alloc. Benefits would be increase performance and lower memory usage. Also a nice synergy between microsoft tech.

Describe alternatives you've considered
Manually overriding the allocator via LD preload or page table modification.

Link
https://github.com/microsoft/mimalloc

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the Microsoft Build of OpenJDK packaging and allocator integration points, then read the linked mimalloc project and compare them with the current system allocator path. The issue is done when mimalloc is built and shipped as the default allocator in MS JDK, replacing the system allocator, with performance and memory usage evaluated.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
operating-systems, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.