<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Karanveery on Medium]]></title>
        <description><![CDATA[Stories by Karanveery on Medium]]></description>
        <link>https://medium.com/@karanveer1029y?source=rss-ebb74ab1792e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Pljr-V-l8EotwbLO</url>
            <title>Stories by Karanveery on Medium</title>
            <link>https://medium.com/@karanveer1029y?source=rss-ebb74ab1792e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 23:42:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@karanveer1029y/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[JVM | JIIT C1,C2, tiered]]></title>
            <link>https://medium.com/@karanveer1029y/jvm-jiit-c1-c2-tiered-d6fbac73c054?source=rss-ebb74ab1792e------2</link>
            <guid isPermaLink="false">https://medium.com/p/d6fbac73c054</guid>
            <category><![CDATA[c2]]></category>
            <category><![CDATA[jvm]]></category>
            <category><![CDATA[1c]]></category>
            <category><![CDATA[tiered]]></category>
            <category><![CDATA[jiit]]></category>
            <dc:creator><![CDATA[Karanveery]]></dc:creator>
            <pubDate>Mon, 06 Oct 2025 16:46:19 GMT</pubDate>
            <atom:updated>2025-10-06T16:46:19.535Z</atom:updated>
            <content:encoded><![CDATA[<p>First we compile our file with javac and your .class file is created.<br>Now, once this file is created we can transfer this file to any system that has java. This .class file will run in that system. Do you know how? The answer is JVM.<br>What does jvm do? JVM executes the bytecode on your system</p><p><strong>Now coming to JIIT<br></strong>To execute things fast, JVM has JIIT(Just in time compiler). JIIT converts the hot method( parts of a Java program that are executed frequently at runtime ) to your native machine code( machine code is different for different systems). If anytime same hot method is called, that fast machine code is executed instead of traditional JVM program execution.It has three types for converting to machine code C1,C2,Tiered</p><p><strong>C1<br></strong>C1 is used mainly where fast startup is more imporant over optimization like guis. Prioritizes low compile time over maximum performance and Prioritizes low compile time over maximum performance.</p><p><strong>C2<br></strong>C2 is used mainly where optimization is given more importance over fast startup. Compiles methods more slowly, but with deeper optimizations and great for large or long-running programs like servers.</p><p>Tiered<br>Best of 2 worlds(C1 and C2). JVM tracks execution counts for methods and loops and finds hot methods. Then compiles with C1, then As JVM gathers profiling data about which methods stay hot. Then it recompiles them to C2</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d6fbac73c054" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>