jdk7u-jdk
freebsd-src
jdk7u-jdk | freebsd-src | |
---|---|---|
15 | 133 | |
519 | 7,472 | |
0.6% | 0.6% | |
0.0 | 10.0 | |
4 months ago | 6 days ago | |
Java | C | |
GNU General Public License v3.0 only | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
jdk7u-jdk
-
What Cannot Be Skipped About the Skiplist: A Survey of Skiplists and Their Appl
Skip lists are relatively simple to make lock-free, while lock-free (even unbalanced) binary search trees are an absolute nightmare.
https://github.com/openjdk-mirror/jdk7u-jdk/blob/master/src/...
-
Requiem for a Stringref
Here is the JDK 7 String#hashCode(), which operates on characters: https://github.com/openjdk-mirror/jdk7u-jdk/blob/f4d80957e89....
That's changed in the newer versions, because String has a `byte[]` not a `char[]`, but it was just fine. A hash algorithm can take in bytes, characters, ints, it doesn't matter.
In Java, you don't get access to the bytes that make up a string, to preserve the string's immutability. So for many operations where you might operate on bytes in a lower level language, you end up using characters (unless you're the standard library, and you can finagle access to the bytes), or alternately doing a byte copy of the entire string.
I admit, checksums using characters are a bit weird sounding, but they should also be perfectly well-defined.
-
Don't Share Java FileChannels
"AbstractInterruptibleChannel" seems to be doing this, and the comments/javadocs offer some hint. As to why they're designed this way, that's a good question.
https://github.com/openjdk-mirror/jdk7u-jdk/blob/master/src/...
-
Computer sucks at math
In Java, you could use BigDecimal. I linked to the source code, because it highlights the amount of complexity you get.
- In Defense of Linked Lists
- System.in and System.out
-
Default editor launched from AWT toolkit?
The windows implementation of AWT Desktop just calls the Win32 API ShellExcute function. This then quickly descends into questions such as "what version of windows do you have"; "does it correctly understand the difference between open vs. edit"; what does your registry currently contain"; etc.
- Why do we need Scanner class in order to input something?
-
Help with StringArray-changing function
ArrayList is a class, it is not an array. It stores two values. An array and its size. You can see this if you read the source code for ArrayList.
-
How does StringBuilder build the string?
The source code for the Java SDK is available on github.
freebsd-src
- You shouldn't run a BSD on a PC
- Linux Crisis Tools
- What about the vfs.zfs.bclone_enabled sysctl now?
-
Personal FreeBSD PKGBASE Update Server
2023-06-26: https://github.com/freebsd/freebsd-src/commit/ee0aa1ce12b3caea34477a31e9d2111a329e33b9 to main (tagged release/14.0.0).
- What version of ZFS at FreeBSD solves the block cloning issue?
-
Installing FreeBSD 14 Stable on an T480 Laptop w/ an Encrypted Home Directory
It's not yet in FreeBSD base so if you want to test it you'll have to use the patch from the PR: https://github.com/freebsd/freebsd-src/pull/881
-
FreeBSD 14.0 Delivering Great Performance Uplift
Lots of great work by many people. But I bet this guy and his optimizations to the vfs and locking has made a significant impact.
https://github.com/freebsd/freebsd-src/commits?author=mjguzi...
-
ZFS 2.2.1: Block Cloning disabled due to data corruption
and then there were deep concerns about the stability of same, so vfs.zfs.bclone_enabled = 0 was left in-place
https://github.com/freebsd/freebsd-src/commit/068913e4ba3dd9...
-
FreeBSD 14.0-Release Announcement
Well there are some examples:
https://github.com/freebsd/freebsd-src/tree/main/share/examp...
But yeah that pf.conf could be expanded allot, but there are many source to cobble a conf together. My conf is massive but 99.9% commented out so i have my "template" for nearly everything, from mail to web to blacklistd etc.
-
Git cherry-pick and revert use 3-way merge
The BSD version is sort of very recent, for what it's worth -- FreeBSD imported a not fully functional version in 2017 and has seen more work on it in 2022: https://github.com/freebsd/freebsd-src/commits/main/usr.bin/... , but the default version shipped is still GNU diff3: https://man.freebsd.org/cgi/man.cgi?query=diff3&apropos=0&se... .
What are some alternatives?
jmh - https://openjdk.org/projects/code-tools/jmh
podman - Podman: A tool for managing OCI containers and pods.
re2j - linear time regular expression matching in Java
musl - unofficial musl mirror git://git.musl-libc.org/musl
libcxx - Project moved to: https://github.com/llvm/llvm-project
darwin-xnu - Legacy mirror of Darwin Kernel. Replaced by https://github.com/apple-oss-distributions/xnu
multichase
src - Read-only git conversion of OpenBSD's official CVS src repository. Pull requests not accepted - send diffs to the tech@ mailing list.
rust - Empowering everyone to build reliable and efficient software.
coreutils - upstream mirror
Taren - Useful C++ templates
ravynos - A BSD-based OS project that aims to provide source and binary compatibility with macOSĀ® and a similar user experience.