30 Matching Annotations
  1. Aug 2023
    1. Most of the time, people are not aware that there isn't only one, but four, garbage collectors. The four garbage collectors are—Serial, Parallel, Concurrent, and Garbage First (G1). We will see them in the following section. There are some third-party garbage collectors, such as Shenandoah. JVM HotSpot's default garbage collector is Parallel up to Java 8, while from Java 9, the default collector is Garbage First Garbage Collector (G1 GC). A Parallel garbage collector isn't best most of the time; however, it depends on our application requirements. For example, the Concurrent Mark Sweep (CMS) and G1 collectors cause less frequent GC pauses. But when they do cause a pause, the pause duration will most likely be longer than a pause caused by the Parallel collector. On the other hand, the Parallel collector usually achieves higher throughput for the same heap size.

      garbage collection

  2. Oct 2022
    1. I love the phrasing of the title of his penultimate section "Making the card-file work", which makes it seem like the card file is ultimately doing the work of writing. Ultimately however, it's the work that was put into it that makes the card file useful, a sentiment that Jacques Goutor emphasizes when he says "How well this succeeds depends partly upon what was put into the file, and partly on how it was put in." (p34)

  3. Sep 2022
    1. Notably absent from the debris was plastic from nations with lots of plastic pollution in their rivers. This was surprising, says Egger, because rivers are thought to be the source of most ocean plastic. Instead, most of the garbage-patch plastic seemed to have been dumped into the ocean directly by passing ships.This suggests that “plastic emitted from land tends to accumulate along coastal areas, while plastic lost at sea has a high chance of accumulating in ocean garbage patches”, Egger says. The combination of the new results and the finding that fishing nets make up a large proportion of the debris indicates that fishing — spearheaded by the five countries and territories identified in the study — is the main source of plastic in the North Pacific garbage patch.

      !- leverage point : ocean plastic pollution

  4. Aug 2022
    1. Every 60 seconds the equivalent of a lorry-load of plastic enters the global ocean. Where does it end up? Right now, researchers simply don’t know. But in a bid to help find out, an ESA-led project developed floating transmitters whose passage can be tracked over time, helping in turn to guide a sophisticated software model of marine plastic litter accumulation.

      Huh? The plastic ends up in the Garbage Patches - https://en.wikipedia.org/wiki/Great_Pacific_garbage_patch

      This is a surprising and disappointing oversight by ESA.

  5. Jun 2022
  6. May 2022
    1. IGNITE THE FIRE IN A BATHTUB

      Probably best if you don't...

    2. It fastens the combustion process

      What does it fasten the combustion process to? 🤔

    3. kindle the hole with fire

      So romantic...

      Bing thinks this is the best document on the entire Internet on the subject of efficiently burning documents, so you don't have to buy and maintain a paper shredder. 🙄

  7. Aug 2021
    1. Terminator: The Sarah Connor Chronicles - Wikipediahttps://en.wikipedia.org › wiki › Terminator:_The_Sara...https://en.wikipedia.org › wiki › Terminator:_The_Sara...About this resultBETASourceWikipedia is a free content, multilingual online encyclopedia written and maintained by a community of volunteer contributors through a model of open collaboration, using a wiki-based editing system.WikipediaYour connection to this site is securehttps://en.wikipedia.org/wiki/Terminator:_The_Sarah_Connor_ChroniclesThis is a search result, not an ad. Only ads are paid, and they'll always be labeled with "Sponsored" or "Ad."Send feedback on this info Privacy settingsHow Search worksCachedSimilarTerminator: The Sarah Connor Chronicles (sometimes abbreviated as Terminator: TSCC or simply TSCC) is an American science fiction television series that ...No. of episodes: 31 (list of episodes‎)‎Original release: January 13, 2008 –; April 10, ...No. of seasons: 2Based on: Characters; by James Cameron‎; ‎Gale ...‎‎List of episodes · ‎Pilot · ‎Cameron · ‎Born to Run

      Terminator: The Sarah Connor Chronicles - Wikipediahttps://en.wikipedia.org › wiki › Terminator:_The_Sara...

      Terminator: The Sarah Connor Chronicles (sometimes abbreviated as Terminator: TSCC or simply TSCC) is an American science fiction television series that ...

      No. of episodes: 31 (list of episodes‎)‎

      Original release: January 13, 2008 --; April 10, ...

      No. of seasons: 2

      Based on: Characters; by James Cameron‎; ‎Gale ...‎

      ‎List of episodes - ‎Pilot - ‎Cameron - ‎Born to Run

  8. Aug 2020
    1. ZGC is a new garbage collector that can handle massive heap sizes, up to 16 terabytes in size, without an increase in pause time. For big data applications that may be processing massive amounts of data in-memory, keeping garbage collection pauses down below 10ms means that processing speed on large data sets won’t be stalled out by limitations in the language. 
  9. Jun 2020
    1. the focus here is to make it safe to have mutable data around, not to have manual memory management

      Mutable data without memory management (no garbage collector)

  10. Feb 2020
    1. GARCIA-NAVARRO: Yeah, the CBC sent a professional dumpster diver out to some major Toronto shopping malls while they were looking into this. And she found all kinds of boxes of new items just thrown in the trash. VASIL: It's really alarming, actually, when you realize how much is ending up in the trash that is perfectly good and still in functional condition.
  11. Aug 2018
  12. Aug 2015
    1. Stdlib support for a global Trace trait that everyone derives would be awesome.

      The issue of wanting to augment structs from external crates with additional traits seems like a pretty generic problem. Seems a shame to solve it only for GC tracing.

  13. Jan 2014
    1. A lot of people seem to think that heap allocation is expensive and stack allocation is cheap. They are actually about the same, typically. It’s the deallocation costs – the marking and sweeping and compacting and moving memory from generation to generation – that are massive for heap memory compared to stack memory.
    2. This sketch is complicated by the fact that there are actually three such arenas; the CLR collector is generational. Objects start off in the “short lived” heap. If they survive they eventually move to the “medium lived” heap, and if they survive there long enough, they move to the “long lived” heap. The GC runs very often on the short lived heap and very seldom on the long lived heap; the idea is that we do not want to have the expense of constantly re-checking a long-lived object to see if it is still alive. But we also want short-lived objects to be reclaimed swiftly.
    3. When a garbage collection is performed there are three phases: mark, sweep and compact. In the “mark” phase, we assume that everything in the heap is “dead”. The CLR knows what objects were “guaranteed alive” when the collection started, so those guys are marked as alive. Everything they refer to is marked as alive, and so on, until the transitive closure of live objects are all marked. In the “sweep” phase, all the dead objects are turned into holes. In the “compact” phase, the block is reorganized so that it is one contiguous block of live memory, free of holes.