├── Stack and queues ├── tempCodeRunnerFile.java ├── StackMain.class ├── SubArrays.class ├── CustomQueue.class ├── CustomStack.class ├── DynamicStack.class ├── CircularQueue.class ├── InBuiltExamples.class ├── StackException.class ├── StackException.java ├── DynamicStack.java ├── InBuiltExamples.java ├── CustomStack.java ├── SubArrays.java ├── CustomQueue.java ├── CircularQueue.java └── StackMain.java ├── OOPS ├── ArrayListPrac.java ├── Main.class ├── Test.class ├── polymorphism_lec │ ├── Square.java │ ├── Triangle.java │ ├── Circle.java │ └── Shapes.java ├── Methods.class ├── Student.class ├── InnerClasses.class ├── StaticBlock.class ├── WrapperExample.class ├── Inheritance │ ├── Box.class │ ├── Main.class │ ├── BoxPrice.class │ ├── BoxWeight.class │ ├── BoxColor.java │ ├── BoxPrice.java │ ├── Box.java │ ├── BoxWeight.java │ └── Main.java ├── InnerClasses$Test.class ├── packages │ ├── Greeting.class │ ├── Message.class │ ├── a │ │ ├── Greeting.class │ │ └── Greeting.java │ ├── Greeting.java │ └── Message.java ├── singleton │ ├── Main.java │ └── Singleton.java ├── Methods.java ├── StaticBlock.java ├── InnerClasses.java ├── WrapperExample.java ├── Main.java ├── hs_err_pid5604.log └── hs_err_pid33372.log ├── Tree ├── Node.class ├── Solution.class ├── PreOrderTraversal.class └── PreOrderTraversal.java ├── DP ├── Fibonacci.class └── Fibonacci.java ├── Linked List ├── LL.class ├── CLL.class ├── DLL.class ├── Main.class ├── LL$Node.class ├── CLL$Node.class ├── DLL$Node.class ├── Main.java ├── CLL.java ├── DLL.java └── LL.java ├── Recursion ├── Prac1.class ├── Prac2.class ├── Prac1.java └── Prac2.java ├── Capgemini ├── MoveHash.class ├── MissingNum.class ├── CompressString.class ├── DealerShip.java ├── MissingNum.java ├── MoveHash.java └── CompressString.java ├── Set DS ├── BeginHashSet.class ├── RangeQueries.class ├── BeginHashSet.java └── RangeQueries.java ├── bit manipulation ├── PowOfTwo.class ├── SetTheBit.class ├── BitSetOrNot.class ├── ClearTheBit.class ├── NoOfSetBits.class ├── SplitExample.class ├── ToggleTheBit.class ├── BinConversion.class ├── DecConversion.class ├── RemoveTheLastSetBit.class ├── Advanced Maths │ ├── PrimeFactors.class │ ├── AllDivisorsOfN.class │ ├── AllDivisorsOfN.java │ └── PrimeFactors.java ├── Interview Questions │ ├── LtoRXOR.class │ ├── PowerSet.class │ ├── MinFlipBits.class │ ├── SingleNoIII.class │ ├── SingleNoInArr.class │ ├── LtoRXOR.java │ ├── SingleNoInArr.java │ ├── MinFlipBits.java │ ├── SingleNoIII.java │ └── PowerSet.java ├── SplitExample.java ├── PowOfTwo.java ├── BitSetOrNot.java ├── ToggleTheBit.java ├── RemoveTheLastSetBit.java ├── NoOfSetBits.java ├── SetTheBit.java ├── ClearTheBit.java ├── DecConversion.java └── BinConversion.java ├── Strings and StringBuilder ├── Basic.class ├── Palin.class ├── Rotation.class ├── Performance.class ├── PrettyPrinting.class ├── OperatorsInString.class ├── Rotation.java ├── OperatorsInString.java ├── Palin.java ├── Basic.java ├── Performance.java └── PrettyPrinting.java └── hs_err_pid30096.log /Stack and queues/tempCodeRunnerFile.java: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /OOPS/ArrayListPrac.java: -------------------------------------------------------------------------------- 1 | public class ArrayListPrac { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /OOPS/Main.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/OOPS/Main.class -------------------------------------------------------------------------------- /OOPS/Test.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/OOPS/Test.class -------------------------------------------------------------------------------- /OOPS/polymorphism_lec/Square.java: -------------------------------------------------------------------------------- 1 | //file 4 2 | 3 | public class Square { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /Tree/Node.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/Tree/Node.class -------------------------------------------------------------------------------- /DP/Fibonacci.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/DP/Fibonacci.class -------------------------------------------------------------------------------- /OOPS/Methods.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/OOPS/Methods.class -------------------------------------------------------------------------------- /OOPS/Student.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/OOPS/Student.class -------------------------------------------------------------------------------- /OOPS/polymorphism_lec/Triangle.java: -------------------------------------------------------------------------------- 1 | //file 3 2 | 3 | public class Triangle { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /Linked List/LL.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/Linked List/LL.class -------------------------------------------------------------------------------- /Tree/Solution.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/Tree/Solution.class -------------------------------------------------------------------------------- /Linked List/CLL.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/Linked List/CLL.class -------------------------------------------------------------------------------- /Linked List/DLL.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/Linked List/DLL.class -------------------------------------------------------------------------------- /Linked List/Main.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/Linked List/Main.class -------------------------------------------------------------------------------- /OOPS/InnerClasses.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/OOPS/InnerClasses.class -------------------------------------------------------------------------------- /OOPS/StaticBlock.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/OOPS/StaticBlock.class -------------------------------------------------------------------------------- /Recursion/Prac1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/Recursion/Prac1.class -------------------------------------------------------------------------------- /Recursion/Prac2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/Recursion/Prac2.class -------------------------------------------------------------------------------- /Capgemini/MoveHash.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/Capgemini/MoveHash.class -------------------------------------------------------------------------------- /Linked List/LL$Node.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/Linked List/LL$Node.class -------------------------------------------------------------------------------- /OOPS/WrapperExample.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/OOPS/WrapperExample.class -------------------------------------------------------------------------------- /OOPS/polymorphism_lec/Circle.java: -------------------------------------------------------------------------------- 1 | //file 2 2 | 3 | 4 | public class Circle extends Shapes { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /Set DS/BeginHashSet.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/Set DS/BeginHashSet.class -------------------------------------------------------------------------------- /Set DS/RangeQueries.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/Set DS/RangeQueries.class -------------------------------------------------------------------------------- /Capgemini/MissingNum.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/Capgemini/MissingNum.class -------------------------------------------------------------------------------- /Linked List/CLL$Node.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/Linked List/CLL$Node.class -------------------------------------------------------------------------------- /Linked List/DLL$Node.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/Linked List/DLL$Node.class -------------------------------------------------------------------------------- /OOPS/Inheritance/Box.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/OOPS/Inheritance/Box.class -------------------------------------------------------------------------------- /OOPS/Inheritance/Main.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/OOPS/Inheritance/Main.class -------------------------------------------------------------------------------- /OOPS/InnerClasses$Test.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/OOPS/InnerClasses$Test.class -------------------------------------------------------------------------------- /OOPS/packages/Greeting.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/OOPS/packages/Greeting.class -------------------------------------------------------------------------------- /OOPS/packages/Message.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/OOPS/packages/Message.class -------------------------------------------------------------------------------- /Tree/PreOrderTraversal.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/Tree/PreOrderTraversal.class -------------------------------------------------------------------------------- /Capgemini/CompressString.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/Capgemini/CompressString.class -------------------------------------------------------------------------------- /OOPS/packages/a/Greeting.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/OOPS/packages/a/Greeting.class -------------------------------------------------------------------------------- /OOPS/Inheritance/BoxPrice.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/OOPS/Inheritance/BoxPrice.class -------------------------------------------------------------------------------- /OOPS/Inheritance/BoxWeight.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/OOPS/Inheritance/BoxWeight.class -------------------------------------------------------------------------------- /Stack and queues/StackMain.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/Stack and queues/StackMain.class -------------------------------------------------------------------------------- /Stack and queues/SubArrays.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/Stack and queues/SubArrays.class -------------------------------------------------------------------------------- /bit manipulation/PowOfTwo.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/bit manipulation/PowOfTwo.class -------------------------------------------------------------------------------- /bit manipulation/SetTheBit.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/bit manipulation/SetTheBit.class -------------------------------------------------------------------------------- /Stack and queues/CustomQueue.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/Stack and queues/CustomQueue.class -------------------------------------------------------------------------------- /Stack and queues/CustomStack.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/Stack and queues/CustomStack.class -------------------------------------------------------------------------------- /Stack and queues/DynamicStack.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/Stack and queues/DynamicStack.class -------------------------------------------------------------------------------- /bit manipulation/BitSetOrNot.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/bit manipulation/BitSetOrNot.class -------------------------------------------------------------------------------- /bit manipulation/ClearTheBit.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/bit manipulation/ClearTheBit.class -------------------------------------------------------------------------------- /bit manipulation/NoOfSetBits.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/bit manipulation/NoOfSetBits.class -------------------------------------------------------------------------------- /bit manipulation/SplitExample.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/bit manipulation/SplitExample.class -------------------------------------------------------------------------------- /bit manipulation/ToggleTheBit.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/bit manipulation/ToggleTheBit.class -------------------------------------------------------------------------------- /Stack and queues/CircularQueue.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/Stack and queues/CircularQueue.class -------------------------------------------------------------------------------- /Stack and queues/InBuiltExamples.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/Stack and queues/InBuiltExamples.class -------------------------------------------------------------------------------- /Stack and queues/StackException.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/Stack and queues/StackException.class -------------------------------------------------------------------------------- /Strings and StringBuilder/Basic.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/Strings and StringBuilder/Basic.class -------------------------------------------------------------------------------- /Strings and StringBuilder/Palin.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/Strings and StringBuilder/Palin.class -------------------------------------------------------------------------------- /bit manipulation/BinConversion.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/bit manipulation/BinConversion.class -------------------------------------------------------------------------------- /bit manipulation/DecConversion.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/bit manipulation/DecConversion.class -------------------------------------------------------------------------------- /Strings and StringBuilder/Rotation.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/Strings and StringBuilder/Rotation.class -------------------------------------------------------------------------------- /Strings and StringBuilder/Performance.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/Strings and StringBuilder/Performance.class -------------------------------------------------------------------------------- /bit manipulation/RemoveTheLastSetBit.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/bit manipulation/RemoveTheLastSetBit.class -------------------------------------------------------------------------------- /Strings and StringBuilder/PrettyPrinting.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/Strings and StringBuilder/PrettyPrinting.class -------------------------------------------------------------------------------- /Strings and StringBuilder/OperatorsInString.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/Strings and StringBuilder/OperatorsInString.class -------------------------------------------------------------------------------- /bit manipulation/Advanced Maths/PrimeFactors.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/bit manipulation/Advanced Maths/PrimeFactors.class -------------------------------------------------------------------------------- /bit manipulation/Interview Questions/LtoRXOR.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/bit manipulation/Interview Questions/LtoRXOR.class -------------------------------------------------------------------------------- /OOPS/polymorphism_lec/Shapes.java: -------------------------------------------------------------------------------- 1 | //file 1 2 | 3 | public class Shapes { 4 | void area() { 5 | System.out.println("I am in shapes"); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /bit manipulation/Advanced Maths/AllDivisorsOfN.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/bit manipulation/Advanced Maths/AllDivisorsOfN.class -------------------------------------------------------------------------------- /bit manipulation/Interview Questions/PowerSet.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/bit manipulation/Interview Questions/PowerSet.class -------------------------------------------------------------------------------- /bit manipulation/Interview Questions/MinFlipBits.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/bit manipulation/Interview Questions/MinFlipBits.class -------------------------------------------------------------------------------- /bit manipulation/Interview Questions/SingleNoIII.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/bit manipulation/Interview Questions/SingleNoIII.class -------------------------------------------------------------------------------- /bit manipulation/Interview Questions/SingleNoInArr.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/subhava06/KK-Java-Practice/main/bit manipulation/Interview Questions/SingleNoInArr.class -------------------------------------------------------------------------------- /Stack and queues/StackException.java: -------------------------------------------------------------------------------- 1 | public class StackException extends Exception{ 2 | 3 | public StackException(String message) 4 | { 5 | super(message); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /OOPS/packages/a/Greeting.java: -------------------------------------------------------------------------------- 1 | package packages.a; 2 | 3 | public class Greeting { 4 | public static void main(String[] args) { 5 | System.out.println("I am awesome"); 6 | 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /OOPS/Inheritance/BoxColor.java: -------------------------------------------------------------------------------- 1 | // heirarchical inheritance starts 2 | // hybrid inheritance : combination of single and multiple inheritance but not supported in java 3 | 4 | 5 | public class BoxColor extends BoxWeight { 6 | 7 | } 8 | -------------------------------------------------------------------------------- /OOPS/packages/Greeting.java: -------------------------------------------------------------------------------- 1 | package packages; 2 | 3 | public class Greeting { 4 | public static void main(String[] args) { 5 | System.out.println("Hello world"); 6 | message(); 7 | 8 | } 9 | 10 | 11 | } 12 | -------------------------------------------------------------------------------- /bit manipulation/SplitExample.java: -------------------------------------------------------------------------------- 1 | public class SplitExample { 2 | public static void main(String[] args) { 3 | String str = "Hello,World,How,Are,You?"; 4 | String[] splitArray = str.split(","); 5 | for (String s : splitArray) { 6 | System.out.print(s); 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /OOPS/packages/Message.java: -------------------------------------------------------------------------------- 1 | package packages; 2 | 3 | 4 | public class Message { 5 | public static void main(String[] args) { 6 | Message obj = new Message(); 7 | message(); 8 | } 9 | 10 | public static void message() { 11 | System.out.println("this course is great"); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Strings and StringBuilder/Rotation.java: -------------------------------------------------------------------------------- 1 | public class Rotation { 2 | 3 | 4 | public static void main(String[] args) { 5 | 6 | String str = "abcde"; 7 | int k = 2; 8 | str = str.substring(str.length()-k) + str.substring(0, str.length()-k); 9 | System.out.println(str); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /OOPS/singleton/Main.java: -------------------------------------------------------------------------------- 1 | package singleton; 2 | 3 | public class Main { 4 | public static void main(String[] args) { 5 | 6 | Singleton obj1 = Singleton.getInstance(); 7 | 8 | Singleton obj2 = Singleton.getInstance(); 9 | 10 | Singleton obj3 = Singleton.getInstance(); 11 | 12 | //all 3 ref variables are pointing to just one object 13 | 14 | 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Capgemini/DealerShip.java: -------------------------------------------------------------------------------- 1 | public class DealerShip { 2 | 3 | 4 | public static void main(String[] args) { 5 | 6 | int totDealers = 3; 7 | int c1 = 4; 8 | int b1 = 2; 9 | int c2 = 4; 10 | int b2 = 0; 11 | int c3 = 1; 12 | int b3 = 2; 13 | 14 | //total tyres in each dealerships 15 | for(int i =0; i<3; i++) 16 | { 17 | 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /bit manipulation/PowOfTwo.java: -------------------------------------------------------------------------------- 1 | import java.util.Scanner; 2 | 3 | public class PowOfTwo { 4 | 5 | public static void main(String[] args) { 6 | 7 | Scanner sc = new Scanner(System.in); 8 | System.out.println("Enter the number"); 9 | int N = sc.nextInt(); 10 | // boolean ans = N & (N-1); 11 | if(N>0 && (N & (N-1)) == 0) System.out.println(N+" is a power of 2"); 12 | else System.out.println(N+" is not a power of 2"); 13 | 14 | 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Capgemini/MissingNum.java: -------------------------------------------------------------------------------- 1 | 2 | public class MissingNum { 3 | public static void main(String[] args) { 4 | 5 | int[] num = {1,2,4,5}; 6 | int XOR1 =0; 7 | for(int i =1; i<=num.length+1; i++) 8 | { 9 | XOR1 = XOR1 ^ i; 10 | } 11 | int XOR2 = 0; 12 | for(int i=0; i list = new ArrayList<>(); 11 | for(int i =1; i<= Math.sqrt(N); i++) 12 | { 13 | if(N%i==0) { 14 | list.add(i); 15 | } 16 | if(N/i !=i) list.add(N/i); 17 | } 18 | System.out.println(list); 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /bit manipulation/BitSetOrNot.java: -------------------------------------------------------------------------------- 1 | import java.util.Scanner; 2 | 3 | public class BitSetOrNot { 4 | 5 | //check if ith bit set or not 6 | public static void main(String[] args) { 7 | 8 | Scanner sc = new Scanner(System.in); 9 | 10 | System.out.println("Enter the no. "); 11 | System.out.println("Enter the ith bit"); 12 | int n = sc.nextInt(); 13 | int i = sc.nextInt(); 14 | 15 | if((n & (1 << i)) !=0) System.out.println(i+"th bit is set"); 16 | else System.out.println("Not set"); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /bit manipulation/ToggleTheBit.java: -------------------------------------------------------------------------------- 1 | import java.util.Scanner; 2 | 3 | public class ToggleTheBit { 4 | 5 | 6 | //toggle the ith bit : 1-> 0 and 0-> 1 7 | public static void main(String[] args) { 8 | 9 | Scanner sc = new Scanner(System.in); 10 | System.out.println("Enter the no. and ith bit"); 11 | int n = sc.nextInt(); 12 | int i = sc.nextInt(); 13 | 14 | //move to that bit using << and do XOR(^) to toggle 15 | int ans = n ^ (i< list = new ArrayList<>(); 11 | for(int i =2; i<=Math.sqrt(n); i++) 12 | { 13 | if( n%i == 0){ 14 | list.add(i); 15 | while(n%i==0) n = n/i; 16 | } 17 | } 18 | if(n !=1 ) list.add(n); 19 | System.out.println(list); 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /OOPS/singleton/Singleton.java: -------------------------------------------------------------------------------- 1 | package singleton; 2 | public class Singleton { 3 | // It is a class which could only have one object of it 4 | //for that one should avoid others to make constructors of it 5 | 6 | private int num =0; 7 | private Singleton() { 8 | 9 | } 10 | 11 | private static Singleton instance; 12 | 13 | public static Singleton getInstance() { 14 | //check whether 1 object only is created or not 15 | 16 | if(instance == null) { 17 | instance = new Singleton(); 18 | } 19 | 20 | return instance; 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /OOPS/Inheritance/BoxPrice.java: -------------------------------------------------------------------------------- 1 | // multilevel inheritance 2 | 3 | public class BoxPrice extends BoxWeight { 4 | 5 | double cost; 6 | 7 | BoxPrice() { 8 | super(); 9 | this.cost = -1; 10 | } 11 | 12 | BoxPrice(BoxPrice other) { 13 | super(other); 14 | this.cost = other.cost; 15 | } 16 | 17 | public BoxPrice(double l, double h, double w, double weight, double cost) { 18 | 19 | super(l, h, w, weight); 20 | this.cost = cost; 21 | } 22 | 23 | public BoxPrice( double side, double weight, double cost) { 24 | super(side, weight); 25 | this.cost = cost; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /Recursion/Prac1.java: -------------------------------------------------------------------------------- 1 | 2 | 3 | public class Prac1 { 4 | 5 | //functional recursion 6 | public static int func1(int n) 7 | { 8 | if(n==0) 9 | return 0; 10 | return n + func1(n-1); 11 | } 12 | //parameterised recursion 13 | public static void func2(int i, int sum) 14 | { 15 | if(i<1) 16 | { 17 | System.out.println(sum); 18 | return ; 19 | } 20 | 21 | func2(i-1,sum+i); 22 | } 23 | 24 | public static void main(String[] args) { 25 | int n = 5; 26 | System.out.println(func1(n)); 27 | func2(n,0); 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /bit manipulation/RemoveTheLastSetBit.java: -------------------------------------------------------------------------------- 1 | import java.util.Scanner; 2 | 3 | public class RemoveTheLastSetBit { 4 | 5 | // Remove the last set bit( from right ) 6 | 7 | public static void main(String[] args) { 8 | 9 | Scanner sc = new Scanner(System.in); 10 | System.out.println("Enter the no. "); 11 | int n = sc.nextInt(); 12 | 13 | // perform & of n and (n-1) this remove the last set bit 14 | // and if we use a loop until n is 1, we get to count the no. of set bits 15 | 16 | int ans= n & (n-1); 17 | System.out.println("Removed the last set bit and the result is "+ans); 18 | 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /OOPS/Methods.java: -------------------------------------------------------------------------------- 1 | import java.util.*; 2 | public class Methods { 3 | public static void main(String[] args) { 4 | //Armstrong no. 5 | System.out.println("Enter the no. :" ); 6 | Scanner sc = new Scanner(System.in); 7 | int n = sc.nextInt(); 8 | 9 | System.out.println(armstrong(n)); 10 | 11 | } 12 | 13 | static boolean armstrong(int n) 14 | { 15 | int original = n; 16 | int result = 0; 17 | while(n>0) 18 | { 19 | int rem = n%10; 20 | result = result + rem*rem*rem; 21 | n = n/10; 22 | 23 | } 24 | return original == result; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /bit manipulation/NoOfSetBits.java: -------------------------------------------------------------------------------- 1 | import java.util.Scanner; 2 | 3 | public class NoOfSetBits { 4 | 5 | 6 | //count the no. of set bits 7 | public static void main(String[] args) { 8 | 9 | Scanner sc = new Scanner(System.in); 10 | System.out.println("Enter the no."); 11 | int n = sc.nextInt(); 12 | int cnt = 0; 13 | 14 | //perform a while loop until no. becomes 0 15 | //cnt when n & (n-1) !=0 // it removes last set bit to 0 16 | 17 | while(n !=0) 18 | { 19 | n = n & (n-1); 20 | cnt ++; 21 | } 22 | System.out.println("No. of set bits: "+cnt); 23 | 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Capgemini/MoveHash.java: -------------------------------------------------------------------------------- 1 | 2 | 3 | public class MoveHash { 4 | public static void main(String[] args) { 5 | 6 | String input = "Move#Hash#to#Front"; 7 | System.out.println("input: "+input); 8 | System.out.println("Output: "+moveHashtoFront(input)); 9 | } 10 | 11 | public static String moveHashtoFront(String input) 12 | { 13 | StringBuilder hash = new StringBuilder(); 14 | StringBuilder otherChars = new StringBuilder(); 15 | for(char ch : input.toCharArray()){ 16 | if(ch == '#') hash.append(ch); 17 | else otherChars.append(ch); 18 | } 19 | 20 | return hash.append(otherChars).toString(); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /bit manipulation/Interview Questions/LtoRXOR.java: -------------------------------------------------------------------------------- 1 | //find XOR of numbers in a given range 2 | 3 | public class LtoRXOR { 4 | 5 | public static void main(String[] args) { 6 | 7 | int N = 9; 8 | System.out.println(xorToRange(N)); 9 | 10 | //from l to r 11 | int l = 4 , r =7; 12 | System.out.println(xorLToR(l,r)); 13 | 14 | } 15 | 16 | public static int xorToRange(int n) { 17 | 18 | if(n % 4 == 1) return 1; 19 | else if(n % 4 == 2) return n+1; 20 | else if(n % 4 == 3) return 0; 21 | else return n; 22 | } 23 | 24 | public static int xorLToR(int l, int r){ 25 | 26 | return xorToRange(l-1) ^ xorToRange(7); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /OOPS/StaticBlock.java: -------------------------------------------------------------------------------- 1 | //this is a demo to show initialisation of static variables 2 | 3 | public class StaticBlock { 4 | static int a = 4; 5 | static int b; 6 | 7 | 8 | //will only run once, when the first object is created,i.e, when the class is loaded for the first time 9 | static { 10 | System.out.println("I am in static block"); 11 | b = a*5; 12 | } 13 | 14 | public static void main(String[] args) { 15 | 16 | StaticBlock obj = new StaticBlock(); 17 | System.out.println(StaticBlock.a + " " + StaticBlock.b); 18 | 19 | StaticBlock.b +=3; 20 | System.out.println(StaticBlock.a + " " + StaticBlock.b); 21 | 22 | StaticBlock obj2 = new StaticBlock(); 23 | 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Strings and StringBuilder/OperatorsInString.java: -------------------------------------------------------------------------------- 1 | import java.util.*; 2 | public class OperatorsInString { 3 | 4 | public static void main(String[] args) { 5 | System.out.println('a' + 'b'); 6 | System.out.println("a" +"b"); 7 | System.out.println('a' + 3); 8 | System.out.println((char)('a' + 3)); 9 | 10 | System.out.println("a" + 1); 11 | 12 | System.out.println("Subhava" + new ArrayList<>()); 13 | 14 | System.out.println(new Integer(56) + "" + new ArrayList<>()); 15 | 16 | String name1 = " hello world "; 17 | String result = name1.strip().replaceAll("\\s+"," "); 18 | System.out.println(result); 19 | 20 | String[] word = " hello worldd "; 21 | 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /bit manipulation/SetTheBit.java: -------------------------------------------------------------------------------- 1 | import java.util.Scanner; 2 | 3 | public class SetTheBit { 4 | 5 | 6 | //set the ith bit 7 | 8 | public static void main(String[] args) { 9 | 10 | Scanner sc = new Scanner(System.in); 11 | System.out.println("Enter the no. "); 12 | System.out.println("Enter the ith bit"); 13 | int n = sc.nextInt(); 14 | int i = sc.nextInt(); 15 | 16 | if((n & (1<=0; i--) 28 | { 29 | if(bin1[i] == '1') dec = dec + p2; 30 | p2 = p2 *2; 31 | } 32 | 33 | return dec; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /Set DS/BeginHashSet.java: -------------------------------------------------------------------------------- 1 | // file 1 2 | import java.util.HashMap; 3 | import java.util.HashSet; 4 | 5 | public class BeginHashSet { 6 | 7 | public static void main(String[] args) { 8 | 9 | String s = "banana"; 10 | 11 | //using a hashset to check if a character is repeated or not 12 | 13 | HashSet set = new HashSet<>(); 14 | 15 | for(char ch : s.toCharArray()) { 16 | 17 | if(set.contains(ch)){ 18 | System.out.println(ch+" is repeated"); 19 | } 20 | else { 21 | set.add(ch); 22 | } 23 | } 24 | 25 | //now to count no. of occurences of each character, we use Hashmap 26 | 27 | HashMap freq = new HashMap<>(); 28 | 29 | for(char ch: s.toCharArray()){ 30 | 31 | freq.put(ch, freq.getOrDefault(ch,0) +1); 32 | } 33 | 34 | System.out.println(freq); 35 | 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /Strings and StringBuilder/Basic.java: -------------------------------------------------------------------------------- 1 | import java.util.Arrays; 2 | 3 | public class Basic { 4 | public static void main(String[] args) { 5 | String name = "Subhava Ojha"; 6 | // System.out.println(name); 7 | 8 | String b = name; 9 | // System.out.println(name == b); 10 | 11 | // String c = new String("Subhava Ojha"); 12 | // System.out.println(c==b); 13 | // System.out.println(c.equals(b)); 14 | 15 | System.out.println(Arrays.toString(new int[]{1,2,3,4})); 16 | 17 | //primitive datatypes could not use .toString method 18 | //but Wrapper classes could 19 | Integer num = new Integer(56); 20 | System.out.println(num.toString()); 21 | 22 | String str = "hello"; 23 | char[] ch = str.toCharArray(); 24 | System.out.println(ch); 25 | for(char cha : str.toCharArray()) 26 | { 27 | System.out.print(cha + " "); 28 | } 29 | 30 | String s = "public"; 31 | String cake = s.toUpperCase(); 32 | System.out.println(cake); 33 | 34 | 35 | 36 | 37 | } 38 | } -------------------------------------------------------------------------------- /bit manipulation/Interview Questions/SingleNoIII.java: -------------------------------------------------------------------------------- 1 | //find the numbers appearing odd no. of times 2 | import java.util.ArrayList; 3 | public class SingleNoIII { 4 | 5 | public static void main(String[] args) { 6 | 7 | int[] nums = {2,4,2,14,3,7,7,3}; 8 | ArrayList ans = new ArrayList<>(); 9 | 10 | long XORR = 0; // find xor of all the elements of the array 11 | 12 | for(int i =0; i=1) 39 | { 40 | ans.append(n % 2); 41 | n = n/2; 42 | } 43 | // if(n / 2 ==1) ans.append('1'); 44 | 45 | return ans.reverse().toString(); 46 | } 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | } 56 | -------------------------------------------------------------------------------- /Stack and queues/InBuiltExamples.java: -------------------------------------------------------------------------------- 1 | 2 | import java.util.ArrayDeque; 3 | import java.util.Deque; 4 | import java.util.LinkedList; 5 | import java.util.Queue; 6 | import java.util.Stack; 7 | 8 | public class InBuiltExamples { 9 | public static void main(String[] args) { 10 | 11 | Stack stack = new Stack<>(); 12 | stack.push(34); 13 | stack.push(45); 14 | stack.push(22); 15 | stack.push(50); 16 | stack.push(60); 17 | 18 | // System.out.println(stack.pop()); 19 | // System.out.println(stack.pop()); 20 | // System.out.println(stack.pop()); 21 | // System.out.println(stack.pop()); 22 | // System.out.println(stack.pop()); 23 | 24 | 25 | Queue queue = new LinkedList<>(); 26 | 27 | queue.add(3); 28 | queue.add(6); 29 | queue.add(5); 30 | queue.add(9); 31 | queue.add(1); 32 | 33 | // System.out.println(queue.peek()); 34 | // System.out.println(queue.remove()); 35 | // System.out.println(queue.remove()); 36 | 37 | Deque deque = new ArrayDeque<>(); 38 | 39 | deque.add(89); 40 | deque.addLast(57); 41 | System.out.println(deque.removeLast()); 42 | 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /bit manipulation/Interview Questions/PowerSet.java: -------------------------------------------------------------------------------- 1 | // print all power sets 2 | 3 | import java.util.ArrayList; 4 | import java.util.Scanner; 5 | 6 | public class PowerSet { 7 | 8 | public static void main(String[] args) { 9 | 10 | //return a list of all the subsets(list) of subsets 11 | ArrayList> ans = new ArrayList<>(); 12 | 13 | // Scanner sc = new Scanner(System.in); 14 | int[] nums = {1,2,3}; 15 | int n = nums.length; 16 | 17 | 18 | //check for all the subsets,i.e, 2^n 19 | int subsets = 1< list = new ArrayList<>(); 24 | // int cnt =0; 25 | // check if j-th bit of i is set 26 | for(int j=0; j> result = getSubArray(num); 17 | 18 | System.out.println("The list of subarrays is as follows"); 19 | for(List sub: result){ 20 | System.out.print(sub+" "); 21 | } 22 | System.out.println(); 23 | 24 | } 25 | 26 | 27 | //function to return all subarrays as a list of arrays 28 | public static List> getSubArray(int[] num) 29 | { 30 | int n = num.length; 31 | List> subArr = new ArrayList<>(); 32 | for(int start =0 ; start sub = new ArrayList<>(); 37 | for(int k = start; k<=end;k++) 38 | { 39 | sub.add(num[k]); 40 | } 41 | subArr.add(sub); 42 | } 43 | } 44 | return subArr; 45 | } 46 | 47 | 48 | } 49 | -------------------------------------------------------------------------------- /Linked List/Main.java: -------------------------------------------------------------------------------- 1 | public class Main { 2 | public static void main(String[] args) { 3 | // LL list = new LL(); // created instance of LL class 4 | 5 | // list.insertFirst(3); 6 | // list.insertFirst(7); 7 | // list.insertFirst(8); 8 | // list.insertFirst(15); 9 | 10 | // list.insertLast(99); 11 | 12 | // //inserting at a particular index 13 | // list.insert(1000,3); 14 | // list.insert(333,6); 15 | 16 | // list.display(); 17 | // System.out.println(list.deleteFirst()); 18 | // list.display(); 19 | // System.out.println(list.deleteLast()); 20 | // list.display(); 21 | // System.out.println(list.delete(2)); 22 | // list.display(); 23 | // System.out.println(list.find(3)); 24 | 25 | // DLL list = new DLL(); // created instance of LL class 26 | 27 | // list.insertFirst(30); 28 | // list.insertFirst(70); 29 | // list.insertFirst(80); 30 | // list.insertFirst(150); 31 | // list.insertLast(2000); 32 | // list.insert(80,1); 33 | // list.display(); 34 | 35 | CLL list = new CLL(); 36 | 37 | list.insert(20); 38 | list.insert(21); 39 | list.insert(22); 40 | list.insert(23); 41 | list.insert(24); 42 | list.insert(25); 43 | 44 | list.display(); 45 | list.delete(23); 46 | list.display(); 47 | 48 | 49 | 50 | 51 | } 52 | 53 | 54 | } 55 | -------------------------------------------------------------------------------- /Strings and StringBuilder/PrettyPrinting.java: -------------------------------------------------------------------------------- 1 | import java.text.Format; 2 | 3 | public class PrettyPrinting { 4 | 5 | public static void main(String[] args) { 6 | 7 | float a = 453.127834f; 8 | //System.out.printf("Formatted number is %.2f",a); 9 | 10 | System.out.println(Math.PI); 11 | // System.out.printf("Pie : %.3f",Math.PI); 12 | 13 | System.out.printf("Hi my name is %s and i am %s", "Subhava", "cool"); 14 | 15 | 16 | 17 | //list of all format specifiers in string 18 | 19 | // %% Inserts a literal % % 20 | // %n Inserts a newline (new line) 21 | // %s / %S String (lowercase/uppercase) hello / HELLO 22 | // %c / %C Character (lowercase/uppercase) a / A 23 | // %b / %B Boolean (lowercase/uppercase) true / TRUE 24 | // %h / %H Hash code of the argument 7f54c0f 25 | 26 | // Numeric Format Specifiers 27 | // Placeholder Description Example Output 28 | // %d Decimal integer 42 29 | // %f Floating-point (decimal) 3.141593 30 | // %e / %E Scientific notation 3.141593e+00 31 | // %g / %G Shorter of %f or %e 3.14159 32 | // %a / %A Hexadecimal floating-point 0x1.91eb86p1 33 | // %o Octal integer 52 34 | // %x / %X Hexadecimal integer 2a / 2A 35 | 36 | // Date and Time Format Specifiers 37 | // These use %t or %T followed by a suffix: 38 | 39 | // Placeholder Description Example Output 40 | // %tY Year (4 digits) 2025 41 | // %tm Month (2 digits) 09 42 | // %td Day of month 19 43 | // %tH Hour (00–23) 07 44 | // %tM Minute 37 45 | // %tS Second 45 46 | // %tB Full month name September 47 | // %tA Full weekday name Friday 48 | } 49 | 50 | } 51 | -------------------------------------------------------------------------------- /OOPS/Inheritance/Main.java: -------------------------------------------------------------------------------- 1 | //single inheritance 2 | //multi level inheritance 3 | //multiple inheritance: when one class is extending more than one class 4 | // not supported by java 5 | // java supports heirarchical inheritance 6 | 7 | 8 | public class Main { 9 | 10 | public static void main(String[] args) { 11 | 12 | Box box = new Box(4.6, 7.9, 9.9); 13 | // Box box2 = new Box(box1); 14 | 15 | System.out.println(box.l+" "+box.h+" "+box.w); 16 | 17 | BoxWeight box3 = new BoxWeight(); 18 | box3.weight = 2; 19 | box3.h = 333; 20 | System.out.println(box3.weight+ " "+ box3.h); 21 | 22 | BoxWeight box4 = new BoxWeight(1.2,3.44,5.33,22.5); 23 | System.out.println(box4.h+" "+box4.w+" "+box4.weight+" "+box4.l); 24 | 25 | 26 | // NOTE: it is the type of the reference var(Box box5) and not the object(BoxWeight()) 27 | // that determines what members can be accessed 28 | Box box5 = new BoxWeight(2, 5, 6, 7); 29 | System.out.println(box5.h+" "+box5.l+" "+box5.w+" "); 30 | 31 | 32 | //there are many variables in both parent and child classes 33 | // you are given access to variables that are in the ref type ,i.e, BoxWeight 34 | //hence you should have access to weight variable 35 | // this also means, that the ones you are trying to access should be initialized 36 | // but here, when the obj itself is of type parent class, how will u call the constructor 37 | // this gives an error because we are trying to reference a child to a parent 38 | // BoxWeight box6 = new Box(2,4,6); 39 | 40 | BoxPrice box9 = new BoxPrice(5, 200, 1000); 41 | System.out.println(" "+box9.weight+" "+box9.cost); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /Tree/PreOrderTraversal.java: -------------------------------------------------------------------------------- 1 | 2 | 3 | public class PreOrderTraversal { 4 | //this is the main class 5 | 6 | public static void main(String[] args) { 7 | 8 | Node root = new Node(1); 9 | root.left = new Node(2); 10 | root.right = new Node(3); 11 | root.left.left = new Node(4); 12 | root.left.right = new Node(5); 13 | 14 | Solution sol = new Solution(); 15 | java.util.List result = sol.preOrder(root); 16 | 17 | System.out.println("Preorder traversal"); 18 | 19 | for(int val : result) { 20 | System.out.print(val + " "); 21 | } 22 | System.out.println(); 23 | } 24 | } 25 | 26 | 27 | 28 | 29 | //Node structure for the BT 30 | 31 | class Node { 32 | 33 | int data; 34 | Node left; 35 | Node right; 36 | 37 | //constructor 38 | Node(int val){ 39 | data = val; 40 | this.left = null; 41 | this.right = null; 42 | } 43 | } 44 | 45 | class Solution { 46 | 47 | 48 | public void preorder(Node root, java.util.List arr) { 49 | 50 | 51 | //Preorder : Root -> left -> Right 52 | if(root == null) return; 53 | 54 | arr.add(root.data); 55 | 56 | preorder(root.left, arr); 57 | 58 | preorder(root.right, arr); 59 | } 60 | 61 | 62 | //func to initiate preorder traversal and return the resulting list 63 | public java.util.List preOrder(Node root) { 64 | 65 | java.util.List arr = new java.util.ArrayList<>(); 66 | 67 | //call the preorder traversal func 68 | preorder(root, arr); 69 | 70 | //return the resulting list containing preorder traversal values 71 | return arr; 72 | } 73 | } -------------------------------------------------------------------------------- /Linked List/CLL.java: -------------------------------------------------------------------------------- 1 | public class CLL { 2 | 3 | Node head; 4 | Node tail; 5 | 6 | // insertion 7 | public void insert(int val) 8 | { 9 | Node node = new Node(val); 10 | if(head == null) 11 | { 12 | head = node; 13 | tail = node; 14 | } 15 | tail.next = node; 16 | node.next = head; 17 | tail = node; 18 | } 19 | 20 | public void display() 21 | { 22 | Node node = head; 23 | 24 | if(head != null) 25 | { 26 | do{ 27 | System.out.print(node.val+" ->"); 28 | node = node.next; 29 | } 30 | while(node!=head); 31 | } 32 | System.out.println(" Head"); 33 | } 34 | 35 | // delete a value 36 | public void delete(int val) 37 | { 38 | Node node = head; 39 | 40 | if(node == null) //Case 1: when node with that value DNE 41 | { 42 | return; 43 | } 44 | 45 | // Case 2: if val is present at the head 46 | if(node.val == val) 47 | { 48 | head= node.next; 49 | tail.next = head; 50 | return; 51 | } 52 | //Case 3: Val is at some node, traverse using do...while 53 | do{ 54 | Node n = node.next; 55 | if(n.val == val) 56 | { 57 | node.next = n.next; 58 | break; 59 | } 60 | node = node.next; // otw, keep traversing 61 | } while(node != head); 62 | } 63 | 64 | 65 | 66 | private class Node { 67 | int val; 68 | Node next; 69 | 70 | public Node(int val) 71 | { 72 | this.val = val; 73 | } 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /Stack and queues/CustomQueue.java: -------------------------------------------------------------------------------- 1 | // FIFO 2 | public class CustomQueue { 3 | private int[] data ; 4 | private static final int DEFAULT_SIZE = 10; 5 | int end = 0 ; //pointer to insert and remove items from queue 6 | 7 | //constrctor 1 8 | public CustomQueue() { 9 | this(DEFAULT_SIZE); 10 | } 11 | //constructor 2 12 | public CustomQueue(int size) 13 | { 14 | this.data = new int[size]; 15 | } 16 | 17 | // empty check 18 | public boolean isEmpty(){ 19 | return end==0; 20 | } 21 | // full check 22 | public boolean isFull() { 23 | return end==data.length; 24 | } 25 | 26 | //insert 27 | public boolean insert(int item) 28 | { 29 | if(isFull()){ 30 | System.out.println("Queue is full, can`t insert more !"); 31 | return false; 32 | } 33 | data[end++] = item; 34 | return true; 35 | } 36 | 37 | //remove 38 | public int remove() throws Exception{ 39 | if(isEmpty()) { 40 | throw new Exception("Queue is empty, can`t remove more"); 41 | } 42 | int removed = data[0]; 43 | for(int i=1;i set = new TreeSet<>(); 12 | 13 | set.add(20); 14 | set.add(10); 15 | set.add(23); 16 | System.out.println(set); // prints in sorted order 17 | 18 | TreeSet set1 = new TreeSet<>(Set.of(12,10,33,13,55,23)); 19 | System.out.println(set1); 20 | 21 | //above are two diff ways to initialize a set 22 | 23 | //range query ops 24 | System.out.println("Range query ops begin."); 25 | 26 | TreeSet set2 = new TreeSet<>(Set.of(10, 12, 13, 14, 16, 19, 25, 28, 30,35, 40)); 27 | 28 | //headSet: returns all elems strictly less than given elem 29 | System.out.println(set2.headSet(19)); 30 | 31 | //tailSet: returns all elems greater than or equal to elem 32 | System.out.println(set2.tailSet(19)); 33 | 34 | //subSet(fromElem, toElem) : returns all elems in a range, [inclusive, exlusive) 35 | System.out.println(set2.subSet(28,40)); 36 | //for all inclusive, use 37 | System.out.println(set2.subSet(28, true, 40, true)); 38 | 39 | 40 | //higher(E e): returns smallest elem strictly greater than e 41 | System.out.println(set2.higher(12)); 42 | 43 | //lower(E e): returns greatest elem strictly less than e 44 | System.out.println(set2.lower(12)); 45 | 46 | //ceiling(E e): returns smallest elem >= e 47 | System.out.println(set2.ceiling(20)); 48 | 49 | //floor(E e) : returns greatest elem <=e 50 | System.out.println(set2.floor(35)); 51 | 52 | 53 | 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /Stack and queues/CircularQueue.java: -------------------------------------------------------------------------------- 1 | // In circular queue, insertion and removal takes O(1) time 2 | 3 | public class CircularQueue { 4 | protected int[] data; 5 | private static final int DEFAULT_SIZE =10; 6 | int end = 0; int front =0; int size = 0; // needed to check full and empty condn 7 | 8 | public CircularQueue() 9 | { 10 | this(DEFAULT_SIZE); 11 | } 12 | public CircularQueue(int size) 13 | { 14 | this.data = new int[size]; 15 | } 16 | 17 | //Empty check 18 | public boolean isEmpty() 19 | { 20 | return size==0; 21 | } 22 | //Full check 23 | public boolean isFull() 24 | { 25 | return size==data.length; 26 | } 27 | 28 | //Insertion 29 | public boolean insert(int item) 30 | { 31 | if(isFull()) { 32 | System.out.println("Queue is full,can`t enqueue more!"); 33 | return false; 34 | } 35 | data[end++] = item; 36 | end = end % data.length; 37 | size++; 38 | return true; 39 | } 40 | 41 | // removal 42 | public int remove() throws Exception { 43 | if(isEmpty()) { 44 | throw new Exception("Queue is empty, can`t dequeue more!"); 45 | } 46 | int removed = data[front++]; 47 | front = front % data.length; 48 | size--; 49 | return removed; 50 | } 51 | 52 | // peek at front element 53 | public int front() throws Exception { 54 | if(isEmpty()) { 55 | throw new Exception("Queue is empty, nothing to display!"); 56 | } 57 | return data[front]; 58 | } 59 | 60 | //display 61 | public void display() { 62 | if(isEmpty()) { 63 | System.out.println("Nothing to show"); 64 | return; 65 | } 66 | 67 | int i= front; 68 | do{ 69 | System.out.print(data[i]+"->"); 70 | i++; 71 | i= i % data.length; 72 | }while(i != end); 73 | System.out.println("end"); 74 | } 75 | 76 | 77 | } 78 | -------------------------------------------------------------------------------- /Recursion/Prac2.java: -------------------------------------------------------------------------------- 1 | import java.util.ArrayList; 2 | import java.util.List; 3 | 4 | // *********************************************************************************************************************// 5 | // Print all subsequences where sum =k 6 | // Print only one subsequence 7 | // print no. of such subsequences 8 | // ********************************************************************************************************************// 9 | 10 | public class Prac2 { 11 | 12 | 13 | public static void func(int ind, List current, int[] arr, int sum, int targetSum) 14 | { 15 | // List current = new ArrayList<>(); 16 | 17 | if(ind == arr.length) 18 | { 19 | if(sum == targetSum) 20 | System.out.println(current); 21 | 22 | return; 23 | } 24 | 25 | current.add(arr[ind]); 26 | 27 | func(ind+1,current,arr,sum + arr[ind],targetSum); 28 | 29 | //backtrack and remove the elem 30 | current.remove(current.size()-1); 31 | 32 | func(ind+1,current,arr,sum,targetSum); 33 | 34 | } 35 | 36 | public static boolean func2(int ind, int sum, int targetSum, int[] arr, List current) 37 | { 38 | if(ind == arr.length) 39 | { 40 | if(sum == targetSum) 41 | { 42 | System.out.println(current); 43 | return true; 44 | } 45 | return false; 46 | } 47 | 48 | //pick element 49 | current.add(arr[ind]); 50 | if(func2(ind+1, sum+arr[ind], targetSum, arr, current)) return true; 51 | 52 | //don`t pick element 53 | current.remove(current.size()-1); 54 | if(func2(ind +1 , sum, targetSum, arr, current)) return true; 55 | 56 | return false; 57 | } 58 | 59 | public static int func3(int ind, int sum, int targetSum, int[] arr) 60 | { 61 | 62 | if(ind == arr.length) 63 | { 64 | return sum == targetSum ? 1 : 0; 65 | } 66 | 67 | int left = func3(ind+1, sum + arr[ind], targetSum, arr); //with current elem 68 | int right = func3(ind+1, sum, targetSum, arr); // w/o current elem 69 | return left + right; 70 | } 71 | 72 | public static void main(String[] args) 73 | { 74 | List> ans = new ArrayList<>(); 75 | int[] arr = {1,2,1}; 76 | int targetSum = 2; 77 | List current = new ArrayList<>(); 78 | 79 | func(0,current,arr,0,targetSum); 80 | System.out.println(" new line"); 81 | func2(0,0,targetSum,arr,current); 82 | System.out.println("new line"); 83 | System.out.println(func3(0,0,targetSum,arr)); // to print no. of subsequences 84 | 85 | } 86 | } 87 | -------------------------------------------------------------------------------- /OOPS/Main.java: -------------------------------------------------------------------------------- 1 | import java.util.Arrays; 2 | 3 | public class Main { 4 | public static void main(String[] args) { 5 | Student subhava= new Student(); 6 | 7 | subhava.rollno = 69; 8 | 9 | System.out.println(subhava.rollno); 10 | System.out.println(subhava.name); 11 | System.out.println(subhava.marks); 12 | subhava.greeting(); 13 | 14 | Student kunal = new Student(); 15 | kunal.name = "Kunal"; 16 | kunal.greeting(); 17 | 18 | subhava.changeName("Car lover"); 19 | subhava.changeName("Shub"); 20 | subhava.greeting(); 21 | 22 | // Student[] students = new Student[5]; 23 | // System.out.println(Arrays.toString(students)); 24 | System.out.println(); 25 | Student hero = new Student(21, "Shaktiman", 90.55f); 26 | System.out.println(hero.rollno); 27 | System.out.println(hero.name); 28 | System.out.println(hero.marks); 29 | hero.greeting(); 30 | 31 | System.out.println(); 32 | 33 | Student random = new Student(subhava); 34 | System.out.println(random.name); 35 | 36 | System.out.println(); 37 | 38 | Student random2 = new Student(); 39 | System.out.println(random2.name); 40 | System.out.println(random2.marks); 41 | 42 | System.out.println(); 43 | 44 | Student one = new Student(); 45 | Student two = one; 46 | one.name = "something something"; 47 | System.out.println(two.name); 48 | 49 | System.out.println("Multilevel inheritance examples start"); 50 | 51 | BoxPrice box7 = new BoxPrice(); 52 | 53 | 54 | 55 | } 56 | } 57 | 58 | class Student { 59 | 60 | int rollno ; 61 | String name; 62 | float marks = 90.0f; 63 | 64 | void greeting() { 65 | System.out.println("Hello! my name is "+this.name); 66 | } 67 | 68 | void changeName(String newName) { 69 | name = newName; 70 | } 71 | 72 | //we need a way to add the values of above properties object by object 73 | //we need one word to access every object 74 | 75 | //constructor 76 | Student() { 77 | // this is how you call a constructor from another constructor 78 | //internally: new Student(); a new object 79 | this(99, "Iron man", 100.00f); 80 | 81 | // this.rollno= 13; 82 | // this.name= "Subhava Ojha"; 83 | // this.marks = 87.6f; 84 | 85 | // the above "this" word will be replaced with the object name that we use 86 | } 87 | 88 | //Students arpit = new Student(16, "Arpit", 89.7f) 89 | // here, "this" will be replaced with arpit 90 | Student(int rollno, String name, float marks) { 91 | this.rollno = rollno; 92 | this.name = name; 93 | this.marks = marks; 94 | } 95 | 96 | //creating a constructor that takes values from another constructor 97 | Student(Student other) { 98 | this.rollno = other.rollno; 99 | this.name = other.name; 100 | this.marks = other.marks; 101 | 102 | } 103 | } -------------------------------------------------------------------------------- /Linked List/DLL.java: -------------------------------------------------------------------------------- 1 | public class DLL { 2 | 3 | private Node head; 4 | 5 | 6 | //insert at first 7 | public void insertFirst(int val) 8 | { 9 | Node node =new Node(val); //create the box 10 | node.next = head; 11 | node.prev = null; 12 | if(head != null) 13 | head.prev = node; 14 | head = node; // head now points to new node as it is the first elem 15 | } 16 | 17 | //display 18 | public void display() 19 | { 20 | //create a temporary node for traversal 21 | Node node = head; //initially it points to head 22 | Node last = null; // for backward transition 23 | while(node != null) 24 | { 25 | System.out.print(node.val+" -> "); 26 | last = node; // keep track of last node 27 | node = node.next; //reassigning node to next val 28 | } 29 | System.out.println("null"); 30 | 31 | //reverse print 32 | System.out.println("Reverse print"); 33 | while(last != null) // here the loop won`t run unless we track the last node and point it to actual last 34 | { 35 | System.out.print(last.val+" -> "); 36 | last = last.prev; 37 | } 38 | System.out.println("start"); 39 | } 40 | 41 | // Insert at end (w/o tail node) 42 | public void insertLast(int val) 43 | { 44 | Node node = new Node(val); 45 | Node last = head; // last is used to traverse till the end 46 | node.next = null; // irrespectively 47 | if(head == null) 48 | { 49 | node.prev = null; 50 | head = node; 51 | return; 52 | } 53 | while(last.next !=null) 54 | { 55 | last = last.next; 56 | } 57 | last.next = node; 58 | node.prev = last; 59 | 60 | } 61 | 62 | //find a particular value in DLL 63 | public Node find(int val) 64 | { 65 | Node node = head; 66 | while(node != null) 67 | { 68 | if(node.val == val) 69 | { 70 | return node; 71 | } 72 | node = node.next; 73 | } 74 | return null; 75 | } 76 | 77 | // Insertion after a particular value 78 | public void insert(int after, int val) 79 | { 80 | Node p = find(after); 81 | if(p==null) 82 | { 83 | System.out.println("Does not exist"); 84 | return; 85 | } 86 | Node node = new Node(val); 87 | node.next = p.next; 88 | node.prev = p; 89 | p.next = node; 90 | if(node.next != null) 91 | { 92 | node.next.prev = node; //is node ke next node ka prev ab ye new node hoga 93 | } 94 | // return; 95 | 96 | } 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | private class Node{ 115 | int val; 116 | Node next; 117 | Node prev; 118 | 119 | public Node(int val) 120 | { 121 | this.val = val; 122 | } 123 | public Node(int val,Node next, Node prev) 124 | { 125 | this.val = val; 126 | this.next = next; 127 | this.prev = prev; 128 | } 129 | } 130 | } 131 | -------------------------------------------------------------------------------- /Stack and queues/StackMain.java: -------------------------------------------------------------------------------- 1 | public class StackMain { 2 | 3 | public static void main(String[] args) { 4 | 5 | // CustomStack stack = new CustomStack(); 6 | // stack.push(12); 7 | // stack.push(13); 8 | // stack.push(15); 9 | // stack.push(9); 10 | // stack.push(50); 11 | // System.out.println(stack.push(24)); 12 | 13 | // try{ 14 | // System.out.println(stack.pop()); 15 | // System.out.println(stack.pop()); 16 | // System.out.println(stack.pop()); 17 | // System.out.println(stack.pop()); 18 | // System.out.println(stack.pop()); 19 | // System.out.println(stack.pop()); 20 | // System.out.println(stack.pop()); 21 | 22 | 23 | 24 | // } 25 | // catch(StackException e) 26 | // { 27 | // System.out.println(e.getMessage()); 28 | // } 29 | 30 | // DynamicStack stack = new DynamicStack(4); 31 | // stack.push(22); 32 | // stack.push(34); 33 | // stack.push(77); 34 | // stack.push(99); 35 | // stack.push(103); 36 | // System.out.println(stack.push(124)); // no stack overflow as size of stack got doubled 37 | 38 | // // pop and print the items 39 | // while(!stack.isEmpty()) 40 | // { 41 | // try { 42 | // System.out.println(stack.pop()); 43 | 44 | // } 45 | // catch(Exception e) 46 | // { 47 | // System.out.println(e.getMessage()); 48 | // } 49 | // } 50 | 51 | // CustomQueue queue = new CustomQueue(4); 52 | // queue.insert(12); 53 | // queue.insert(14); 54 | // queue.insert(15); 55 | // queue.insert(45); 56 | // // System.out.println(queue.insert(22)); 57 | 58 | // queue.display(); 59 | // try{ 60 | // System.out.println(queue.remove()); 61 | // System.out.println(queue.remove()); 62 | // } 63 | // catch(Exception e){ 64 | // System.out.println(e.getMessage()); 65 | // } 66 | // queue.display(); 67 | // try{ 68 | // System.out.println(queue.remove()); 69 | // System.out.println(queue.remove()); 70 | // System.out.println(queue.remove()); 71 | // } 72 | // catch(Exception e) { 73 | // System.out.println(e.getMessage()); 74 | // } 75 | // queue.display(); 76 | 77 | // CircularQueue queue = new CircularQueue(4); 78 | // queue.insert(12); 79 | // queue.insert(13); 80 | // queue.display(); 81 | // queue.insert(14); 82 | // queue.insert(15); 83 | // queue.display(); 84 | // queue.insert(17); 85 | // queue.display(); 86 | // try{ 87 | // System.out.println(queue.remove()); 88 | // queue.insert(17); 89 | // } 90 | // catch(Exception e) { 91 | // System.out.println(e.getMessage()); 92 | // } 93 | // queue.display(); 94 | 95 | 96 | int[] num = {1,3,5,6,7}; 97 | for(int i =0; i<=num.length-1;i++) 98 | { 99 | for(int j= i;j<=num.length-1;j++) 100 | { 101 | for(int k = i; k<=j;k++) 102 | { 103 | System.out.print(num[k]+" "); 104 | } 105 | System.out.println(); // new line 106 | 107 | } 108 | 109 | } 110 | 111 | } 112 | } 113 | -------------------------------------------------------------------------------- /Linked List/LL.java: -------------------------------------------------------------------------------- 1 | public class LL { 2 | 3 | private Node head; // creating different instances of the class Node 4 | private Node tail; 5 | private int size; 6 | public LL() 7 | { 8 | this.size = 0; 9 | } 10 | 11 | // Insert first node to the LL 12 | public void insertFirst(int value) 13 | { 14 | //create an instance of the first node 15 | Node node = new Node(value); 16 | node.next = head; 17 | head = node; // now head points to this node as its the first node 18 | 19 | if(tail == null) // this means first element of LL is added 20 | { 21 | tail = head; // then update tail also 22 | } 23 | size += 1; 24 | } 25 | 26 | //insert at last 27 | public void insertLast(int val){ 28 | if(tail==null){ 29 | insertFirst(val); 30 | return; 31 | } 32 | Node node = new Node(val); 33 | tail.next = node; 34 | tail = node; 35 | size++; 36 | } 37 | 38 | //To insert at a given index 39 | public void insert(int value, int index) 40 | { 41 | if(index == 0) { 42 | insertFirst(value); 43 | return; 44 | } 45 | if(index == size){ 46 | insertLast(value); 47 | return; 48 | } 49 | 50 | //Create a temp node and traverse till the index of insertion 51 | Node temp = head; //initially at index 0 52 | for(int i =1; i "); 135 | temp = temp.next; //completely changes value of temp to next node 136 | } 137 | System.out.println("End"); 138 | } 139 | 140 | private class Node { 141 | private int value; 142 | private Node next; 143 | 144 | public Node(int value) 145 | { 146 | this.value = value; 147 | } 148 | public Node(int value, Node next) 149 | { 150 | this.value = value; 151 | this.next = next; 152 | } 153 | } 154 | } -------------------------------------------------------------------------------- /OOPS/hs_err_pid5604.log: -------------------------------------------------------------------------------- 1 | # 2 | # There is insufficient memory for the Java Runtime Environment to continue. 3 | # Native memory allocation (mmap) failed to map 260046848 bytes. Error detail: G1 virtual space 4 | # Possible reasons: 5 | # The system is out of physical RAM or swap space 6 | # This process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap 7 | # Possible solutions: 8 | # Reduce memory load on the system 9 | # Increase physical memory or swap space 10 | # Check if swap backing store is full 11 | # Decrease Java heap size (-Xmx/-Xms) 12 | # Decrease number of Java threads 13 | # Decrease Java thread stack sizes (-Xss) 14 | # Set larger code cache with -XX:ReservedCodeCacheSize= 15 | # JVM is running with Zero Based Compressed Oops mode in which the Java heap is 16 | # placed in the first 32GB address space. The Java Heap base address is the 17 | # maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress 18 | # to set the Java Heap base and to place the Java Heap above 32GB virtual address. 19 | # This output file may be truncated or incomplete. 20 | # 21 | # Out of Memory Error (os_windows.cpp:3631), pid=5604, tid=35476 22 | # 23 | # JRE version: (22.0.1+8) (build ) 24 | # Java VM: Java HotSpot(TM) 64-Bit Server VM (22.0.1+8-16, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64) 25 | # No core dump will be written. Minidumps are not enabled by default on client versions of Windows 26 | # 27 | 28 | --------------- S U M M A R Y ------------ 29 | 30 | Command Line: Methods 31 | 32 | Host: AMD Ryzen 5 5600H with Radeon Graphics , 12 cores, 15G, Windows 11 , 64 bit Build 26100 (10.0.26100.3037) 33 | Time: Sat Mar 1 16:26:29 2025 India Standard Time elapsed time: 1.407286 seconds (0d 0h 0m 1s) 34 | 35 | --------------- T H R E A D --------------- 36 | 37 | Current thread (0x000002c758bacc30): JavaThread "Unknown thread" [_thread_in_vm, id=35476, stack(0x000000feb9100000,0x000000feb9200000) (1024K)] 38 | 39 | Stack: [0x000000feb9100000,0x000000feb9200000] 40 | Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) 41 | V [jvm.dll+0x6e2279] (no source info available) 42 | V [jvm.dll+0x874e33] (no source info available) 43 | V [jvm.dll+0x87725e] (no source info available) 44 | V [jvm.dll+0x877933] (no source info available) 45 | V [jvm.dll+0x27fd76] (no source info available) 46 | V [jvm.dll+0x6de915] (no source info available) 47 | V [jvm.dll+0x6d341a] (no source info available) 48 | V [jvm.dll+0x3589da] (no source info available) 49 | V [jvm.dll+0x360f06] (no source info available) 50 | V [jvm.dll+0x3b3e2e] (no source info available) 51 | V [jvm.dll+0x3b40d8] (no source info available) 52 | V [jvm.dll+0x32c59c] (no source info available) 53 | V [jvm.dll+0x32d158] (no source info available) 54 | V [jvm.dll+0x83ccdc] (no source info available) 55 | V [jvm.dll+0x3c0d71] (no source info available) 56 | V [jvm.dll+0x825ccc] (no source info available) 57 | V [jvm.dll+0x45b8fe] (no source info available) 58 | V [jvm.dll+0x45d781] (no source info available) 59 | C [jli.dll+0x52a3] (no source info available) 60 | C [ucrtbase.dll+0x37b0] (no source info available) 61 | C [KERNEL32.DLL+0x2e8d7] (no source info available) 62 | C [ntdll.dll+0xbbf2c] (no source info available) 63 | 64 | 65 | --------------- P R O C E S S --------------- 66 | 67 | Threads class SMR info: 68 | _java_thread_list=0x00007fffc163b1c8, length=0, elements={ 69 | } 70 | 71 | Java Threads: ( => current thread ) 72 | Total: 0 73 | 74 | Other Threads: 75 | 0x000002c758dfe590 WorkerThread "GC Thread#0" [id=34108, stack(0x000000feb9200000,0x000000feb9300000) (1024K)] 76 | 0x000002c758e10240 ConcurrentGCThread "G1 Main Marker" [id=24932, stack(0x000000feb9300000,0x000000feb9400000) (1024K)] 77 | 0x000002c758e13310 WorkerThread "G1 Conc#0" [id=2464, stack(0x000000feb9400000,0x000000feb9500000) (1024K)] 78 | 79 | [error occurred during error reporting (printing all threads), id 0xc0000005, EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007fffc0d8f367] 80 | VM state: not at safepoint (not fully initialized) 81 | 82 | VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event]) 83 | [0x00007fffc16bbcb8] Heap_lock - owner thread: 0x000002c758bacc30 84 | 85 | Heap address: 0x0000000709800000, size: 3944 MB, Compressed Oops mode: Zero based, Oop shift amount: 3 86 | 87 | CDS archive(s) mapped at: [0x0000000000000000-0x0000000000000000-0x0000000000000000), size 0, SharedBaseAddress: 0x0000000800000000, ArchiveRelocationMode: 1. 88 | Narrow klass base: 0x0000000000000000, Narrow klass shift: 0, Narrow klass range: 0x0 89 | 90 | GC Precious Log: 91 | CardTable entry size: 512 92 | Card Set container configuration: InlinePtr #cards 4 size 8 Array Of Cards #cards 16 size 48 Howl #buckets 8 coarsen threshold 3686 Howl Bitmap #cards 512 size 80 coarsen threshold 460 Card regions per heap region 1 cards per card region 4096 93 | 94 | Heap: 95 | garbage-first heap total reserved 4038656K, committed 0K, used 0K [0x0000000709800000, 0x0000000800000000) 96 | region size 2048K, 0 young (0K), 0 survivors (0K) 97 | 98 | [error occurred during error reporting (printing heap information), id 0xc0000005, EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007fffc118e429] 99 | GC Heap History (0 events): 100 | No events 101 | 102 | Dll operation events (1 events): 103 | Event: 0.020 Loaded shared library C:\Program Files\Java\jdk-22\bin\java.dll 104 | 105 | Deoptimization events (0 events): 106 | No events 107 | 108 | Classes loaded (0 events): 109 | No events 110 | 111 | Classes unloaded (0 events): 112 | No events 113 | 114 | Classes redefined (0 events): 115 | No events 116 | 117 | Internal exceptions (0 events): 118 | No events 119 | 120 | ZGC Phase Switch (0 events): 121 | No events 122 | 123 | VM Operations (0 events): 124 | No events 125 | 126 | Events (0 events): 127 | No events 128 | 129 | 130 | Dynamic libraries: 131 | 0x00007ff7ad020000 - 0x00007ff7ad030000 C:\Program Files\Java\jdk-22\bin\java.exe 132 | 0x00007ff8ad8c0000 - 0x00007ff8adb23000 C:\WINDOWS\SYSTEM32\ntdll.dll 133 | 0x00007ff8ac330000 - 0x00007ff8ac3f7000 C:\WINDOWS\System32\KERNEL32.DLL 134 | 0x00007ff8aad90000 - 0x00007ff8ab157000 C:\WINDOWS\System32\KERNELBASE.dll 135 | 0x00007ff8ab350000 - 0x00007ff8ab49c000 C:\WINDOWS\System32\ucrtbase.dll 136 | 0x00007ff86a6e0000 - 0x00007ff86a6fb000 C:\Program Files\Java\jdk-22\bin\VCRUNTIME140.dll 137 | 0x00007ff86a5c0000 - 0x00007ff86a5d7000 C:\Program Files\Java\jdk-22\bin\jli.dll 138 | 0x00007ff8ac270000 - 0x00007ff8ac324000 C:\WINDOWS\System32\ADVAPI32.dll 139 | 0x00007ff8ad560000 - 0x00007ff8ad609000 C:\WINDOWS\System32\msvcrt.dll 140 | 0x00007ff8ac790000 - 0x00007ff8ac836000 C:\WINDOWS\System32\sechost.dll 141 | 0x00007ff8ac050000 - 0x00007ff8ac166000 C:\WINDOWS\System32\RPCRT4.dll 142 | 0x00007ff8ad390000 - 0x00007ff8ad559000 C:\WINDOWS\System32\USER32.dll 143 | 0x00007ff8a9ed0000 - 0x00007ff8aa160000 C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.26100.3037_none_3e09262ce333c378\COMCTL32.dll 144 | 0x00007ff8ab4a0000 - 0x00007ff8ab4c7000 C:\WINDOWS\System32\win32u.dll 145 | 0x00007ff8aca00000 - 0x00007ff8aca2a000 C:\WINDOWS\System32\GDI32.dll 146 | 0x00007ff8ab220000 - 0x00007ff8ab34b000 C:\WINDOWS\System32\gdi32full.dll 147 | 0x00007ff8ab650000 - 0x00007ff8ab6f3000 C:\WINDOWS\System32\msvcp_win.dll 148 | 0x00007ff8a2e50000 - 0x00007ff8a2e5b000 C:\WINDOWS\SYSTEM32\VERSION.dll 149 | 0x00007ff8ab7b0000 - 0x00007ff8ab7df000 C:\WINDOWS\System32\IMM32.DLL 150 | 0x00007ff87ce10000 - 0x00007ff87ce1c000 C:\Program Files\Java\jdk-22\bin\vcruntime140_1.dll 151 | 0x00007ff862fc0000 - 0x00007ff86304e000 C:\Program Files\Java\jdk-22\bin\msvcp140.dll 152 | 0x00007fffc0a50000 - 0x00007fffc1797000 C:\Program Files\Java\jdk-22\bin\server\jvm.dll 153 | 0x00007ff8ad310000 - 0x00007ff8ad384000 C:\WINDOWS\System32\WS2_32.dll 154 | 0x00007ff8aa4d0000 - 0x00007ff8aa51e000 C:\WINDOWS\SYSTEM32\POWRPROF.dll 155 | 0x00007ff8a2780000 - 0x00007ff8a27b6000 C:\WINDOWS\SYSTEM32\WINMM.dll 156 | 0x00007ff8aa370000 - 0x00007ff8aa384000 C:\WINDOWS\SYSTEM32\UMPDC.dll 157 | 0x00007ff8a91d0000 - 0x00007ff8a91ea000 C:\WINDOWS\SYSTEM32\kernel.appcore.dll 158 | 0x00007ff87c5a0000 - 0x00007ff87c5aa000 C:\Program Files\Java\jdk-22\bin\jimage.dll 159 | 0x00007ff8aa550000 - 0x00007ff8aa791000 C:\WINDOWS\SYSTEM32\DBGHELP.DLL 160 | 0x00007ff8ac400000 - 0x00007ff8ac77e000 C:\WINDOWS\System32\combase.dll 161 | 0x00007ff8ac8a0000 - 0x00007ff8ac976000 C:\WINDOWS\System32\OLEAUT32.dll 162 | 0x00007ff862ef0000 - 0x00007ff862f29000 C:\WINDOWS\SYSTEM32\dbgcore.DLL 163 | 0x00007ff8aac60000 - 0x00007ff8aacf9000 C:\WINDOWS\System32\bcryptPrimitives.dll 164 | 0x00007ff869d70000 - 0x00007ff869d8e000 C:\Program Files\Java\jdk-22\bin\java.dll 165 | 0x00007ff8acc00000 - 0x00007ff8ad304000 C:\WINDOWS\System32\SHELL32.dll 166 | 0x00007ff8ad640000 - 0x00007ff8ad7d5000 C:\WINDOWS\System32\ole32.dll 167 | 168 | dbghelp: loaded successfully - version: 4.0.5 - missing functions: none 169 | symbol engine: initialized successfully - sym options: 0x614 - pdb path: .;C:\Program Files\Java\jdk-22\bin;C:\WINDOWS\SYSTEM32;C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.26100.3037_none_3e09262ce333c378;C:\Program Files\Java\jdk-22\bin\server 170 | 171 | VM Arguments: 172 | java_command: Methods 173 | java_class_path (initial): . 174 | Launcher Type: SUN_STANDARD 175 | 176 | [Global flags] 177 | intx CICompilerCount = 4 {product} {ergonomic} 178 | uint ConcGCThreads = 3 {product} {ergonomic} 179 | uint G1ConcRefinementThreads = 10 {product} {ergonomic} 180 | size_t G1HeapRegionSize = 2097152 {product} {ergonomic} 181 | size_t InitialHeapSize = 260046848 {product} {ergonomic} 182 | size_t MarkStackSize = 4194304 {product} {ergonomic} 183 | size_t MaxHeapSize = 4135583744 {product} {ergonomic} 184 | size_t MinHeapDeltaBytes = 2097152 {product} {ergonomic} 185 | size_t MinHeapSize = 8388608 {product} {ergonomic} 186 | uintx NonNMethodCodeHeapSize = 5839372 {pd product} {ergonomic} 187 | uintx NonProfiledCodeHeapSize = 122909434 {pd product} {ergonomic} 188 | uintx ProfiledCodeHeapSize = 122909434 {pd product} {ergonomic} 189 | uintx ReservedCodeCacheSize = 251658240 {pd product} {ergonomic} 190 | bool SegmentedCodeCache = true {product} {ergonomic} 191 | size_t SoftMaxHeapSize = 4135583744 {manageable} {ergonomic} 192 | bool UseCompressedOops = true {product lp64_product} {ergonomic} 193 | bool UseG1GC = true {product} {ergonomic} 194 | bool UseLargePagesIndividualAllocation = false {pd product} {ergonomic} 195 | 196 | Logging: 197 | Log output configuration: 198 | #0: stdout all=warning uptime,level,tags foldmultilines=false 199 | #1: stderr all=off uptime,level,tags foldmultilines=false 200 | 201 | Environment Variables: 202 | PATH=C:\Program Files\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Android\sdk\platforms;C:\Android\sdk\platform-tools;C:\Program Files\Git\cmd;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Users\Subhava Ojha\AppData\Local\Microsoft\WindowsApps;C:\Users\Subhava Ojha\AppData\Local\Programs\Microsoft VS Code\bin;C:\FlutterDev\sdk\flutter\bin;;c:\Users\Subhava Ojha\AppData\Roaming\Code\User\globalStorage\github.copilot-chat\debugCommand 203 | USERNAME=Subhava Ojha 204 | LANG=en_US.UTF-8 205 | OS=Windows_NT 206 | PROCESSOR_IDENTIFIER=AMD64 Family 25 Model 80 Stepping 0, AuthenticAMD 207 | TMP=C:\Users\SUBHAV~1\AppData\Local\Temp 208 | TEMP=C:\Users\SUBHAV~1\AppData\Local\Temp 209 | 210 | 211 | 212 | 213 | Periodic native trim disabled 214 | 215 | --------------- S Y S T E M --------------- 216 | 217 | OS: 218 | Windows 11 , 64 bit Build 26100 (10.0.26100.3037) 219 | OS uptime: 3 days 16:00 hours 220 | Hyper-V role detected 221 | 222 | CPU: total 12 (initial active 12) (12 cores per cpu, 2 threads per core) family 25 model 80 stepping 0 microcode 0xa50000d, cx8, cmov, fxsr, ht, mmx, 3dnowpref, sse, sse2, sse3, ssse3, sse4a, sse4.1, sse4.2, popcnt, lzcnt, tsc, tscinvbit, avx, avx2, aes, erms, clmul, bmi1, bmi2, adx, sha, fma, vzeroupper, clflush, clflushopt, hv, rdtscp, rdpid, fsrm, f16c, cet_ss 223 | Processor Information for processor 0 224 | Max Mhz: 3301, Current Mhz: 1908, Mhz Limit: 3301 225 | Processor Information for processor 1 226 | Max Mhz: 3301, Current Mhz: 1805, Mhz Limit: 3301 227 | Processor Information for processor 2 228 | Max Mhz: 3301, Current Mhz: 1908, Mhz Limit: 3301 229 | Processor Information for processor 3 230 | Max Mhz: 3301, Current Mhz: 1805, Mhz Limit: 3301 231 | Processor Information for processor 4 232 | Max Mhz: 3301, Current Mhz: 1805, Mhz Limit: 3301 233 | Processor Information for processor 5 234 | Max Mhz: 3301, Current Mhz: 1805, Mhz Limit: 3301 235 | Processor Information for processor 6 236 | Max Mhz: 3301, Current Mhz: 1805, Mhz Limit: 3301 237 | Processor Information for processor 7 238 | Max Mhz: 3301, Current Mhz: 1805, Mhz Limit: 3301 239 | Processor Information for processor 8 240 | Max Mhz: 3301, Current Mhz: 1805, Mhz Limit: 3301 241 | Processor Information for processor 9 242 | Max Mhz: 3301, Current Mhz: 1805, Mhz Limit: 3301 243 | Processor Information for processor 10 244 | Max Mhz: 3301, Current Mhz: 1805, Mhz Limit: 3301 245 | Processor Information for processor 11 246 | Max Mhz: 3301, Current Mhz: 1805, Mhz Limit: 3301 247 | 248 | Memory: 4k page, system-wide physical 15773M (522M free) 249 | TotalPageFile size 17821M (AvailPageFile size 122M) 250 | current process WorkingSet (physical memory assigned to process): 13M, peak: 13M 251 | current process commit charge ("private bytes"): 65M, peak: 312M 252 | 253 | vm_info: Java HotSpot(TM) 64-Bit Server VM (22.0.1+8-16) for windows-amd64 JRE (22.0.1+8-16), built on 2024-03-12T10:33:16Z by "mach5one" with MS VC++ 17.6 (VS2022) 254 | 255 | END. 256 | -------------------------------------------------------------------------------- /OOPS/hs_err_pid33372.log: -------------------------------------------------------------------------------- 1 | # 2 | # There is insufficient memory for the Java Runtime Environment to continue. 3 | # Native memory allocation (mmap) failed to map 260046848 bytes. Error detail: G1 virtual space 4 | # Possible reasons: 5 | # The system is out of physical RAM or swap space 6 | # This process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap 7 | # Possible solutions: 8 | # Reduce memory load on the system 9 | # Increase physical memory or swap space 10 | # Check if swap backing store is full 11 | # Decrease Java heap size (-Xmx/-Xms) 12 | # Decrease number of Java threads 13 | # Decrease Java thread stack sizes (-Xss) 14 | # Set larger code cache with -XX:ReservedCodeCacheSize= 15 | # JVM is running with Zero Based Compressed Oops mode in which the Java heap is 16 | # placed in the first 32GB address space. The Java Heap base address is the 17 | # maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress 18 | # to set the Java Heap base and to place the Java Heap above 32GB virtual address. 19 | # This output file may be truncated or incomplete. 20 | # 21 | # Out of Memory Error (os_windows.cpp:3631), pid=33372, tid=13240 22 | # 23 | # JRE version: (22.0.1+8) (build ) 24 | # Java VM: Java HotSpot(TM) 64-Bit Server VM (22.0.1+8-16, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64) 25 | # No core dump will be written. Minidumps are not enabled by default on client versions of Windows 26 | # 27 | 28 | --------------- S U M M A R Y ------------ 29 | 30 | Command Line: Methods 31 | 32 | Host: AMD Ryzen 5 5600H with Radeon Graphics , 12 cores, 15G, Windows 11 , 64 bit Build 26100 (10.0.26100.3037) 33 | Time: Sat Mar 1 16:26:49 2025 India Standard Time elapsed time: 1.253765 seconds (0d 0h 0m 1s) 34 | 35 | --------------- T H R E A D --------------- 36 | 37 | Current thread (0x000001c34dc4cb00): JavaThread "Unknown thread" [_thread_in_vm, id=13240, stack(0x000000724a100000,0x000000724a200000) (1024K)] 38 | 39 | Stack: [0x000000724a100000,0x000000724a200000] 40 | Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) 41 | V [jvm.dll+0x6e2279] (no source info available) 42 | V [jvm.dll+0x874e33] (no source info available) 43 | V [jvm.dll+0x87725e] (no source info available) 44 | V [jvm.dll+0x877933] (no source info available) 45 | V [jvm.dll+0x27fd76] (no source info available) 46 | V [jvm.dll+0x6de915] (no source info available) 47 | V [jvm.dll+0x6d341a] (no source info available) 48 | V [jvm.dll+0x3589da] (no source info available) 49 | V [jvm.dll+0x360f06] (no source info available) 50 | V [jvm.dll+0x3b3e2e] (no source info available) 51 | V [jvm.dll+0x3b40d8] (no source info available) 52 | V [jvm.dll+0x32c59c] (no source info available) 53 | V [jvm.dll+0x32d158] (no source info available) 54 | V [jvm.dll+0x83ccdc] (no source info available) 55 | V [jvm.dll+0x3c0d71] (no source info available) 56 | V [jvm.dll+0x825ccc] (no source info available) 57 | V [jvm.dll+0x45b8fe] (no source info available) 58 | V [jvm.dll+0x45d781] (no source info available) 59 | C [jli.dll+0x52a3] (no source info available) 60 | C [ucrtbase.dll+0x37b0] (no source info available) 61 | C [KERNEL32.DLL+0x2e8d7] (no source info available) 62 | C [ntdll.dll+0xbbf2c] (no source info available) 63 | 64 | 65 | --------------- P R O C E S S --------------- 66 | 67 | Threads class SMR info: 68 | _java_thread_list=0x00007fffc163b1c8, length=0, elements={ 69 | } 70 | 71 | Java Threads: ( => current thread ) 72 | Total: 0 73 | 74 | Other Threads: 75 | 0x000001c34f65cf90 WorkerThread "GC Thread#0" [id=7772, stack(0x000000724a200000,0x000000724a300000) (1024K)] 76 | 0x000001c34f66dd20 ConcurrentGCThread "G1 Main Marker" [id=18552, stack(0x000000724a300000,0x000000724a400000) (1024K)] 77 | 0x000001c34f671570 WorkerThread "G1 Conc#0" [id=7860, stack(0x000000724a400000,0x000000724a500000) (1024K)] 78 | 79 | [error occurred during error reporting (printing all threads), id 0xc0000005, EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007fffc0d8f367] 80 | VM state: not at safepoint (not fully initialized) 81 | 82 | VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event]) 83 | [0x00007fffc16bbcb8] Heap_lock - owner thread: 0x000001c34dc4cb00 84 | 85 | Heap address: 0x0000000709800000, size: 3944 MB, Compressed Oops mode: Zero based, Oop shift amount: 3 86 | 87 | CDS archive(s) mapped at: [0x0000000000000000-0x0000000000000000-0x0000000000000000), size 0, SharedBaseAddress: 0x0000000800000000, ArchiveRelocationMode: 1. 88 | Narrow klass base: 0x0000000000000000, Narrow klass shift: 0, Narrow klass range: 0x0 89 | 90 | GC Precious Log: 91 | CardTable entry size: 512 92 | Card Set container configuration: InlinePtr #cards 4 size 8 Array Of Cards #cards 16 size 48 Howl #buckets 8 coarsen threshold 3686 Howl Bitmap #cards 512 size 80 coarsen threshold 460 Card regions per heap region 1 cards per card region 4096 93 | 94 | Heap: 95 | garbage-first heap total reserved 4038656K, committed 0K, used 0K [0x0000000709800000, 0x0000000800000000) 96 | region size 2048K, 0 young (0K), 0 survivors (0K) 97 | 98 | [error occurred during error reporting (printing heap information), id 0xc0000005, EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007fffc118e429] 99 | GC Heap History (0 events): 100 | No events 101 | 102 | Dll operation events (1 events): 103 | Event: 0.013 Loaded shared library C:\Program Files\Java\jdk-22\bin\java.dll 104 | 105 | Deoptimization events (0 events): 106 | No events 107 | 108 | Classes loaded (0 events): 109 | No events 110 | 111 | Classes unloaded (0 events): 112 | No events 113 | 114 | Classes redefined (0 events): 115 | No events 116 | 117 | Internal exceptions (0 events): 118 | No events 119 | 120 | ZGC Phase Switch (0 events): 121 | No events 122 | 123 | VM Operations (0 events): 124 | No events 125 | 126 | Events (0 events): 127 | No events 128 | 129 | 130 | Dynamic libraries: 131 | 0x00007ff786cd0000 - 0x00007ff786ce0000 C:\Program Files\Java\jdk-22\bin\java.exe 132 | 0x00007ff8ad8c0000 - 0x00007ff8adb23000 C:\WINDOWS\SYSTEM32\ntdll.dll 133 | 0x00007ff8ac330000 - 0x00007ff8ac3f7000 C:\WINDOWS\System32\KERNEL32.DLL 134 | 0x00007ff8aad90000 - 0x00007ff8ab157000 C:\WINDOWS\System32\KERNELBASE.dll 135 | 0x00007ff8ab350000 - 0x00007ff8ab49c000 C:\WINDOWS\System32\ucrtbase.dll 136 | 0x00007ff86a6e0000 - 0x00007ff86a6f7000 C:\Program Files\Java\jdk-22\bin\jli.dll 137 | 0x00007ff86a5c0000 - 0x00007ff86a5db000 C:\Program Files\Java\jdk-22\bin\VCRUNTIME140.dll 138 | 0x00007ff8ac270000 - 0x00007ff8ac324000 C:\WINDOWS\System32\ADVAPI32.dll 139 | 0x00007ff8ad560000 - 0x00007ff8ad609000 C:\WINDOWS\System32\msvcrt.dll 140 | 0x00007ff8ac790000 - 0x00007ff8ac836000 C:\WINDOWS\System32\sechost.dll 141 | 0x00007ff8ac050000 - 0x00007ff8ac166000 C:\WINDOWS\System32\RPCRT4.dll 142 | 0x00007ff8ad390000 - 0x00007ff8ad559000 C:\WINDOWS\System32\USER32.dll 143 | 0x00007ff8a9ed0000 - 0x00007ff8aa160000 C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.26100.3037_none_3e09262ce333c378\COMCTL32.dll 144 | 0x00007ff8ab4a0000 - 0x00007ff8ab4c7000 C:\WINDOWS\System32\win32u.dll 145 | 0x00007ff8aca00000 - 0x00007ff8aca2a000 C:\WINDOWS\System32\GDI32.dll 146 | 0x00007ff8ab220000 - 0x00007ff8ab34b000 C:\WINDOWS\System32\gdi32full.dll 147 | 0x00007ff8a2e50000 - 0x00007ff8a2e5b000 C:\WINDOWS\SYSTEM32\VERSION.dll 148 | 0x00007ff8ab650000 - 0x00007ff8ab6f3000 C:\WINDOWS\System32\msvcp_win.dll 149 | 0x00007ff8ab7b0000 - 0x00007ff8ab7df000 C:\WINDOWS\System32\IMM32.DLL 150 | 0x00007ff87ce10000 - 0x00007ff87ce1c000 C:\Program Files\Java\jdk-22\bin\vcruntime140_1.dll 151 | 0x00007ff862fc0000 - 0x00007ff86304e000 C:\Program Files\Java\jdk-22\bin\msvcp140.dll 152 | 0x00007fffc0a50000 - 0x00007fffc1797000 C:\Program Files\Java\jdk-22\bin\server\jvm.dll 153 | 0x00007ff8ad310000 - 0x00007ff8ad384000 C:\WINDOWS\System32\WS2_32.dll 154 | 0x00007ff8aa4d0000 - 0x00007ff8aa51e000 C:\WINDOWS\SYSTEM32\POWRPROF.dll 155 | 0x00007ff8a2780000 - 0x00007ff8a27b6000 C:\WINDOWS\SYSTEM32\WINMM.dll 156 | 0x00007ff8aa370000 - 0x00007ff8aa384000 C:\WINDOWS\SYSTEM32\UMPDC.dll 157 | 0x00007ff8a91d0000 - 0x00007ff8a91ea000 C:\WINDOWS\SYSTEM32\kernel.appcore.dll 158 | 0x00007ff87c5a0000 - 0x00007ff87c5aa000 C:\Program Files\Java\jdk-22\bin\jimage.dll 159 | 0x00007ff8aa550000 - 0x00007ff8aa791000 C:\WINDOWS\SYSTEM32\DBGHELP.DLL 160 | 0x00007ff8ac400000 - 0x00007ff8ac77e000 C:\WINDOWS\System32\combase.dll 161 | 0x00007ff8ac8a0000 - 0x00007ff8ac976000 C:\WINDOWS\System32\OLEAUT32.dll 162 | 0x00007ff862ef0000 - 0x00007ff862f29000 C:\WINDOWS\SYSTEM32\dbgcore.DLL 163 | 0x00007ff8aac60000 - 0x00007ff8aacf9000 C:\WINDOWS\System32\bcryptPrimitives.dll 164 | 0x00007ff869d70000 - 0x00007ff869d8e000 C:\Program Files\Java\jdk-22\bin\java.dll 165 | 0x00007ff8acc00000 - 0x00007ff8ad304000 C:\WINDOWS\System32\SHELL32.dll 166 | 0x00007ff8ad640000 - 0x00007ff8ad7d5000 C:\WINDOWS\System32\ole32.dll 167 | 168 | dbghelp: loaded successfully - version: 4.0.5 - missing functions: none 169 | symbol engine: initialized successfully - sym options: 0x614 - pdb path: .;C:\Program Files\Java\jdk-22\bin;C:\WINDOWS\SYSTEM32;C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.26100.3037_none_3e09262ce333c378;C:\Program Files\Java\jdk-22\bin\server 170 | 171 | VM Arguments: 172 | java_command: Methods 173 | java_class_path (initial): . 174 | Launcher Type: SUN_STANDARD 175 | 176 | [Global flags] 177 | intx CICompilerCount = 4 {product} {ergonomic} 178 | uint ConcGCThreads = 3 {product} {ergonomic} 179 | uint G1ConcRefinementThreads = 10 {product} {ergonomic} 180 | size_t G1HeapRegionSize = 2097152 {product} {ergonomic} 181 | size_t InitialHeapSize = 260046848 {product} {ergonomic} 182 | size_t MarkStackSize = 4194304 {product} {ergonomic} 183 | size_t MaxHeapSize = 4135583744 {product} {ergonomic} 184 | size_t MinHeapDeltaBytes = 2097152 {product} {ergonomic} 185 | size_t MinHeapSize = 8388608 {product} {ergonomic} 186 | uintx NonNMethodCodeHeapSize = 5839372 {pd product} {ergonomic} 187 | uintx NonProfiledCodeHeapSize = 122909434 {pd product} {ergonomic} 188 | uintx ProfiledCodeHeapSize = 122909434 {pd product} {ergonomic} 189 | uintx ReservedCodeCacheSize = 251658240 {pd product} {ergonomic} 190 | bool SegmentedCodeCache = true {product} {ergonomic} 191 | size_t SoftMaxHeapSize = 4135583744 {manageable} {ergonomic} 192 | bool UseCompressedOops = true {product lp64_product} {ergonomic} 193 | bool UseG1GC = true {product} {ergonomic} 194 | bool UseLargePagesIndividualAllocation = false {pd product} {ergonomic} 195 | 196 | Logging: 197 | Log output configuration: 198 | #0: stdout all=warning uptime,level,tags foldmultilines=false 199 | #1: stderr all=off uptime,level,tags foldmultilines=false 200 | 201 | Environment Variables: 202 | PATH=C:\Program Files\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Android\sdk\platforms;C:\Android\sdk\platform-tools;C:\Program Files\Git\cmd;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Users\Subhava Ojha\AppData\Local\Microsoft\WindowsApps;C:\Users\Subhava Ojha\AppData\Local\Programs\Microsoft VS Code\bin;C:\FlutterDev\sdk\flutter\bin;;c:\Users\Subhava Ojha\AppData\Roaming\Code\User\globalStorage\github.copilot-chat\debugCommand 203 | USERNAME=Subhava Ojha 204 | LANG=en_US.UTF-8 205 | OS=Windows_NT 206 | PROCESSOR_IDENTIFIER=AMD64 Family 25 Model 80 Stepping 0, AuthenticAMD 207 | TMP=C:\Users\SUBHAV~1\AppData\Local\Temp 208 | TEMP=C:\Users\SUBHAV~1\AppData\Local\Temp 209 | 210 | 211 | 212 | 213 | Periodic native trim disabled 214 | 215 | --------------- S Y S T E M --------------- 216 | 217 | OS: 218 | Windows 11 , 64 bit Build 26100 (10.0.26100.3037) 219 | OS uptime: 3 days 16:01 hours 220 | Hyper-V role detected 221 | 222 | CPU: total 12 (initial active 12) (12 cores per cpu, 2 threads per core) family 25 model 80 stepping 0 microcode 0xa50000d, cx8, cmov, fxsr, ht, mmx, 3dnowpref, sse, sse2, sse3, ssse3, sse4a, sse4.1, sse4.2, popcnt, lzcnt, tsc, tscinvbit, avx, avx2, aes, erms, clmul, bmi1, bmi2, adx, sha, fma, vzeroupper, clflush, clflushopt, hv, rdtscp, rdpid, fsrm, f16c, cet_ss 223 | Processor Information for processor 0 224 | Max Mhz: 3301, Current Mhz: 1908, Mhz Limit: 3301 225 | Processor Information for processor 1 226 | Max Mhz: 3301, Current Mhz: 1805, Mhz Limit: 3301 227 | Processor Information for processor 2 228 | Max Mhz: 3301, Current Mhz: 1805, Mhz Limit: 3301 229 | Processor Information for processor 3 230 | Max Mhz: 3301, Current Mhz: 1908, Mhz Limit: 3301 231 | Processor Information for processor 4 232 | Max Mhz: 3301, Current Mhz: 1908, Mhz Limit: 3301 233 | Processor Information for processor 5 234 | Max Mhz: 3301, Current Mhz: 1805, Mhz Limit: 3301 235 | Processor Information for processor 6 236 | Max Mhz: 3301, Current Mhz: 1908, Mhz Limit: 3301 237 | Processor Information for processor 7 238 | Max Mhz: 3301, Current Mhz: 1805, Mhz Limit: 3301 239 | Processor Information for processor 8 240 | Max Mhz: 3301, Current Mhz: 1908, Mhz Limit: 3301 241 | Processor Information for processor 9 242 | Max Mhz: 3301, Current Mhz: 1908, Mhz Limit: 3301 243 | Processor Information for processor 10 244 | Max Mhz: 3301, Current Mhz: 1805, Mhz Limit: 3301 245 | Processor Information for processor 11 246 | Max Mhz: 3301, Current Mhz: 1805, Mhz Limit: 3301 247 | 248 | Memory: 4k page, system-wide physical 15773M (957M free) 249 | TotalPageFile size 17821M (AvailPageFile size 170M) 250 | current process WorkingSet (physical memory assigned to process): 13M, peak: 13M 251 | current process commit charge ("private bytes"): 64M, peak: 312M 252 | 253 | vm_info: Java HotSpot(TM) 64-Bit Server VM (22.0.1+8-16) for windows-amd64 JRE (22.0.1+8-16), built on 2024-03-12T10:33:16Z by "mach5one" with MS VC++ 17.6 (VS2022) 254 | 255 | END. 256 | -------------------------------------------------------------------------------- /hs_err_pid30096.log: -------------------------------------------------------------------------------- 1 | # 2 | # There is insufficient memory for the Java Runtime Environment to continue. 3 | # Native memory allocation (malloc) failed to allocate 1170896 bytes. Error detail: Chunk::new 4 | # Possible reasons: 5 | # The system is out of physical RAM or swap space 6 | # This process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap 7 | # Possible solutions: 8 | # Reduce memory load on the system 9 | # Increase physical memory or swap space 10 | # Check if swap backing store is full 11 | # Decrease Java heap size (-Xmx/-Xms) 12 | # Decrease number of Java threads 13 | # Decrease Java thread stack sizes (-Xss) 14 | # Set larger code cache with -XX:ReservedCodeCacheSize= 15 | # JVM is running with Unscaled Compressed Oops mode in which the Java heap is 16 | # placed in the first 4GB address space. The Java Heap base address is the 17 | # maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress 18 | # to set the Java Heap base and to place the Java Heap above 4GB virtual address. 19 | # This output file may be truncated or incomplete. 20 | # 21 | # Out of Memory Error (arena.cpp:168), pid=30096, tid=21584 22 | # 23 | # JRE version: OpenJDK Runtime Environment Temurin-21.0.6+7 (21.0.6+7) (build 21.0.6+7-LTS) 24 | # Java VM: OpenJDK 64-Bit Server VM Temurin-21.0.6+7 (21.0.6+7-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, parallel gc, windows-amd64) 25 | # No core dump will be written. Minidumps are not enabled by default on client versions of Windows 26 | # 27 | 28 | --------------- S U M M A R Y ------------ 29 | 30 | Command Line: --add-modules=ALL-SYSTEM --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/sun.nio.fs=ALL-UNNAMED -Declipse.application=org.eclipse.jdt.ls.core.id1 -Dosgi.bundles.defaultStartLevel=4 -Declipse.product=org.eclipse.jdt.ls.core.product -Djava.import.generatesMetadataFilesAtProjectRoot=false -DDetectVMInstallationsJob.disabled=true -Dfile.encoding=utf8 -XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m -Xlog:disable -javaagent:c:\Users\Subhava Ojha\.vscode\extensions\redhat.java-1.40.0-win32-x64\lombok\lombok-1.18.36.jar -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=c:\Users\Subhava Ojha\AppData\Roaming\Code\User\workspaceStorage\3e79f674797deebcb5f66463768f23eb\redhat.java -Daether.dependencyCollector.impl=bf c:\Users\Subhava Ojha\.vscode\extensions\redhat.java-1.40.0-win32-x64\server\plugins\org.eclipse.equinox.launcher_1.6.1000.v20250131-0606.jar -configuration c:\Users\Subhava Ojha\AppData\Roaming\Code\User\globalStorage\redhat.java\1.40.0\config_win -data c:\Users\Subhava Ojha\AppData\Roaming\Code\User\workspaceStorage\3e79f674797deebcb5f66463768f23eb\redhat.java\jdt_ws --pipe=\\.\pipe\lsp-f149cedb92a43c796c4692409dc0fc56-sock 31 | 32 | Host: AMD Ryzen 5 5600H with Radeon Graphics , 12 cores, 15G, Windows 11 , 64 bit Build 26100 (10.0.26100.3037) 33 | Time: Sat Mar 1 16:23:30 2025 India Standard Time elapsed time: 9.592732 seconds (0d 0h 0m 9s) 34 | 35 | --------------- T H R E A D --------------- 36 | 37 | Current thread (0x000002929a475830): JavaThread "C2 CompilerThread2" daemon [_thread_in_native, id=21584, stack(0x000000e57c500000,0x000000e57c600000) (1024K)] 38 | 39 | 40 | Current CompileTask: 41 | C2:9592 5834 4 java.lang.invoke.MethodType::methodType (69 bytes) 42 | 43 | Stack: [0x000000e57c500000,0x000000e57c600000] 44 | Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) 45 | V [jvm.dll+0x6cdee9] 46 | V [jvm.dll+0x8a83d1] 47 | V [jvm.dll+0x8aa8fe] 48 | V [jvm.dll+0x8aafe3] 49 | V [jvm.dll+0x27f706] 50 | V [jvm.dll+0xc500d] 51 | V [jvm.dll+0xc5543] 52 | V [jvm.dll+0x3b6752] 53 | V [jvm.dll+0x1dfe13] 54 | V [jvm.dll+0x247b42] 55 | V [jvm.dll+0x246fcf] 56 | V [jvm.dll+0x1c75ee] 57 | V [jvm.dll+0x25685a] 58 | V [jvm.dll+0x254dfa] 59 | V [jvm.dll+0x3f0256] 60 | V [jvm.dll+0x851f8b] 61 | V [jvm.dll+0x6cc5ed] 62 | C [ucrtbase.dll+0x37b0] 63 | C [KERNEL32.DLL+0x2e8d7] 64 | C [ntdll.dll+0xbbf2c] 65 | 66 | 67 | --------------- P R O C E S S --------------- 68 | 69 | Threads class SMR info: 70 | _java_thread_list=0x00000292989c2390, length=43, elements={ 71 | 0x000002923b89a650, 0x0000029297000080, 0x0000029297002fa0, 0x0000029297005740, 72 | 0x0000029297008950, 0x000002929700c800, 0x0000029297012b30, 0x00000292970256d0, 73 | 0x000002929702bdc0, 0x0000029297013850, 0x00000292972ddee0, 0x00000292970124a0, 74 | 0x0000029297011e10, 0x00000292970131c0, 0x0000029297013ee0, 0x0000029297010a60, 75 | 0x0000029297011780, 0x00000292970110f0, 0x000002929831f7e0, 0x000002929831eac0, 76 | 0x000002929831f150, 0x0000029298320500, 0x000002929831fe70, 0x000002929831d080, 77 | 0x0000029298320b90, 0x000002929831d710, 0x0000029298321220, 0x000002929831dda0, 78 | 0x0000029298323980, 0x00000292983232f0, 0x0000029298321f40, 0x0000029298324010, 79 | 0x00000292983218b0, 0x00000292983225d0, 0x00000292983246a0, 0x0000029298322c60, 80 | 0x00000292995065d0, 0x00000292995072f0, 0x0000029299507980, 0x0000029299508010, 81 | 0x00000292995086a0, 0x0000029299505f40, 0x000002929a475830 82 | } 83 | 84 | Java Threads: ( => current thread ) 85 | 0x000002923b89a650 JavaThread "main" [_thread_blocked, id=20520, stack(0x000000e578c00000,0x000000e578d00000) (1024K)] 86 | 0x0000029297000080 JavaThread "Reference Handler" daemon [_thread_blocked, id=23160, stack(0x000000e579000000,0x000000e579100000) (1024K)] 87 | 0x0000029297002fa0 JavaThread "Finalizer" daemon [_thread_blocked, id=6840, stack(0x000000e579100000,0x000000e579200000) (1024K)] 88 | 0x0000029297005740 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=14544, stack(0x000000e579200000,0x000000e579300000) (1024K)] 89 | 0x0000029297008950 JavaThread "Attach Listener" daemon [_thread_blocked, id=26776, stack(0x000000e579300000,0x000000e579400000) (1024K)] 90 | 0x000002929700c800 JavaThread "Service Thread" daemon [_thread_blocked, id=13804, stack(0x000000e579400000,0x000000e579500000) (1024K)] 91 | 0x0000029297012b30 JavaThread "Monitor Deflation Thread" daemon [_thread_blocked, id=35360, stack(0x000000e579500000,0x000000e579600000) (1024K)] 92 | 0x00000292970256d0 JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=18248, stack(0x000000e579600000,0x000000e579700000) (1024K)] 93 | 0x000002929702bdc0 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=35444, stack(0x000000e579700000,0x000000e579800000) (1024K)] 94 | 0x0000029297013850 JavaThread "Common-Cleaner" daemon [_thread_blocked, id=10668, stack(0x000000e579800000,0x000000e579900000) (1024K)] 95 | 0x00000292972ddee0 JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=22496, stack(0x000000e579900000,0x000000e579a00000) (1024K)] 96 | 0x00000292970124a0 JavaThread "Notification Thread" daemon [_thread_blocked, id=15560, stack(0x000000e579a00000,0x000000e579b00000) (1024K)] 97 | 0x0000029297011e10 JavaThread "Active Thread: Equinox Container: 59506cb9-1280-461a-baab-5588841c3f47" [_thread_blocked, id=27040, stack(0x000000e57a200000,0x000000e57a300000) (1024K)] 98 | 0x00000292970131c0 JavaThread "Refresh Thread: Equinox Container: 59506cb9-1280-461a-baab-5588841c3f47" daemon [_thread_blocked, id=21640, stack(0x000000e57a300000,0x000000e57a400000) (1024K)] 99 | 0x0000029297013ee0 JavaThread "Framework Event Dispatcher: Equinox Container: 59506cb9-1280-461a-baab-5588841c3f47" daemon [_thread_blocked, id=35440, stack(0x000000e57a500000,0x000000e57a600000) (1024K)] 100 | 0x0000029297010a60 JavaThread "Start Level: Equinox Container: 59506cb9-1280-461a-baab-5588841c3f47" daemon [_thread_blocked, id=25648, stack(0x000000e57a600000,0x000000e57a700000) (1024K)] 101 | 0x0000029297011780 JavaThread "Bundle File Closer" daemon [_thread_blocked, id=9296, stack(0x000000e57a700000,0x000000e57a800000) (1024K)] 102 | 0x00000292970110f0 JavaThread "SCR Component Actor" daemon [_thread_blocked, id=20020, stack(0x000000e579b00000,0x000000e579c00000) (1024K)] 103 | 0x000002929831f7e0 JavaThread "Worker-JM" [_thread_blocked, id=26240, stack(0x000000e57ab00000,0x000000e57ac00000) (1024K)] 104 | 0x000002929831eac0 JavaThread "JNA Cleaner" daemon [_thread_blocked, id=27468, stack(0x000000e57ac00000,0x000000e57ad00000) (1024K)] 105 | 0x000002929831f150 JavaThread "Worker-0" [_thread_blocked, id=25132, stack(0x000000e57ad00000,0x000000e57ae00000) (1024K)] 106 | 0x0000029298320500 JavaThread "Worker-1: Initialize After Load" [_thread_in_Java, id=20104, stack(0x000000e57ae00000,0x000000e57af00000) (1024K)] 107 | 0x000002929831fe70 JavaThread "Java indexing" daemon [_thread_in_vm, id=28100, stack(0x000000e57af00000,0x000000e57b000000) (1024K)] 108 | 0x000002929831d080 JavaThread "Worker-2" [_thread_blocked, id=20512, stack(0x000000e57b200000,0x000000e57b300000) (1024K)] 109 | 0x0000029298320b90 JavaThread "Worker-3: Java indexing... " [_thread_blocked, id=34192, stack(0x000000e57b300000,0x000000e57b400000) (1024K)] 110 | 0x000002929831d710 JavaThread "Thread-2" daemon [_thread_in_native, id=9316, stack(0x000000e57b400000,0x000000e57b500000) (1024K)] 111 | 0x0000029298321220 JavaThread "Thread-3" daemon [_thread_in_native, id=32152, stack(0x000000e57b500000,0x000000e57b600000) (1024K)] 112 | 0x000002929831dda0 JavaThread "Thread-4" daemon [_thread_in_native, id=28848, stack(0x000000e57b600000,0x000000e57b700000) (1024K)] 113 | 0x0000029298323980 JavaThread "Thread-5" daemon [_thread_in_native, id=22712, stack(0x000000e57b700000,0x000000e57b800000) (1024K)] 114 | 0x00000292983232f0 JavaThread "Thread-6" daemon [_thread_in_native, id=13176, stack(0x000000e57b800000,0x000000e57b900000) (1024K)] 115 | 0x0000029298321f40 JavaThread "Thread-7" daemon [_thread_in_native, id=28464, stack(0x000000e57b900000,0x000000e57ba00000) (1024K)] 116 | 0x0000029298324010 JavaThread "Thread-8" daemon [_thread_in_native, id=16716, stack(0x000000e57ba00000,0x000000e57bb00000) (1024K)] 117 | 0x00000292983218b0 JavaThread "Thread-9" daemon [_thread_in_native, id=17820, stack(0x000000e57bb00000,0x000000e57bc00000) (1024K)] 118 | 0x00000292983225d0 JavaThread "Thread-10" daemon [_thread_in_native, id=29572, stack(0x000000e57bc00000,0x000000e57bd00000) (1024K)] 119 | 0x00000292983246a0 JavaThread "Thread-11" daemon [_thread_in_native, id=14736, stack(0x000000e57bd00000,0x000000e57be00000) (1024K)] 120 | 0x0000029298322c60 JavaThread "Thread-12" daemon [_thread_in_native, id=12072, stack(0x000000e57be00000,0x000000e57bf00000) (1024K)] 121 | 0x00000292995065d0 JavaThread "Thread-13" daemon [_thread_in_native, id=23540, stack(0x000000e57bf00000,0x000000e57c000000) (1024K)] 122 | 0x00000292995072f0 JavaThread "Thread-14" daemon [_thread_in_native, id=25328, stack(0x000000e57c000000,0x000000e57c100000) (1024K)] 123 | 0x0000029299507980 JavaThread "pool-2-thread-1" [_thread_blocked, id=28852, stack(0x000000e57c100000,0x000000e57c200000) (1024K)] 124 | 0x0000029299508010 JavaThread "WorkspaceEventsHandler" [_thread_blocked, id=22708, stack(0x000000e57c200000,0x000000e57c300000) (1024K)] 125 | 0x00000292995086a0 JavaThread "pool-1-thread-1" [_thread_blocked, id=22088, stack(0x000000e57c300000,0x000000e57c400000) (1024K)] 126 | 0x0000029299505f40 JavaThread "Worker-4" [_thread_blocked, id=16340, stack(0x000000e57c400000,0x000000e57c500000) (1024K)] 127 | =>0x000002929a475830 JavaThread "C2 CompilerThread2" daemon [_thread_in_native, id=21584, stack(0x000000e57c500000,0x000000e57c600000) (1024K)] 128 | Total: 43 129 | 130 | Other Threads: 131 | 0x000002924fc73740 VMThread "VM Thread" [id=3232, stack(0x000000e578f00000,0x000000e579000000) (1024K)] 132 | 0x000002924fb6ca00 WatcherThread "VM Periodic Task Thread" [id=9376, stack(0x000000e578e00000,0x000000e578f00000) (1024K)] 133 | 0x000002923b8b81a0 WorkerThread "GC Thread#0" [id=23980, stack(0x000000e578d00000,0x000000e578e00000) (1024K)] 134 | 0x0000029297771760 WorkerThread "GC Thread#1" [id=29592, stack(0x000000e579c00000,0x000000e579d00000) (1024K)] 135 | 0x00000292979b4660 WorkerThread "GC Thread#2" [id=12432, stack(0x000000e579d00000,0x000000e579e00000) (1024K)] 136 | 0x0000029297ce1e90 WorkerThread "GC Thread#3" [id=17616, stack(0x000000e579e00000,0x000000e579f00000) (1024K)] 137 | 0x0000029297b45670 WorkerThread "GC Thread#4" [id=22244, stack(0x000000e579f00000,0x000000e57a000000) (1024K)] 138 | 0x0000029297b45a10 WorkerThread "GC Thread#5" [id=11756, stack(0x000000e57a000000,0x000000e57a100000) (1024K)] 139 | 0x0000029297b461b0 WorkerThread "GC Thread#6" [id=28084, stack(0x000000e57a100000,0x000000e57a200000) (1024K)] 140 | 0x000002929807ca80 WorkerThread "GC Thread#7" [id=32456, stack(0x000000e57a400000,0x000000e57a500000) (1024K)] 141 | 0x0000029298674bf0 WorkerThread "GC Thread#8" [id=31828, stack(0x000000e57a800000,0x000000e57a900000) (1024K)] 142 | 0x0000029297aff540 WorkerThread "GC Thread#9" [id=16272, stack(0x000000e57a900000,0x000000e57aa00000) (1024K)] 143 | Total: 12 144 | 145 | Threads with active compile tasks: 146 | C2 CompilerThread0 10571 6187 ! 4 java.util.concurrent.ConcurrentHashMap::putVal (432 bytes) 147 | C2 CompilerThread1 10571 5083 ! 4 org.eclipse.osgi.internal.loader.classpath.ClasspathManager::findLocalClass (210 bytes) 148 | C2 CompilerThread2 10571 5834 4 java.lang.invoke.MethodType::methodType (69 bytes) 149 | Total: 3 150 | 151 | VM state: not at safepoint (normal execution) 152 | 153 | VM Mutex/Monitor currently owned by a thread: None 154 | 155 | Heap address: 0x00000000c0000000, size: 1024 MB, Compressed Oops mode: 32-bit 156 | 157 | CDS archive(s) mapped at: [0x0000029250000000-0x0000029250ba0000-0x0000029250ba0000), size 12189696, SharedBaseAddress: 0x0000029250000000, ArchiveRelocationMode: 1. 158 | Compressed class space mapped at: 0x0000029251000000-0x0000029291000000, reserved size: 1073741824 159 | Narrow klass base: 0x0000029250000000, Narrow klass shift: 0, Narrow klass range: 0x100000000 160 | 161 | GC Precious Log: 162 | CardTable entry size: 512 163 | CPUs: 12 total, 12 available 164 | Memory: 15773M 165 | Large Page Support: Disabled 166 | NUMA Support: Disabled 167 | Compressed Oops: Enabled (32-bit) 168 | Alignments: Space 512K, Generation 512K, Heap 2M 169 | Heap Min Capacity: 100M 170 | Heap Initial Capacity: 100M 171 | Heap Max Capacity: 1G 172 | Pre-touch: Disabled 173 | Parallel Workers: 10 174 | 175 | Heap: 176 | PSYoungGen total 21504K, used 10156K [0x00000000eab00000, 0x00000000ec980000, 0x0000000100000000) 177 | eden space 19456K, 41% used [0x00000000eab00000,0x00000000eb2efaf0,0x00000000ebe00000) 178 | from space 2048K, 99% used [0x00000000ec280000,0x00000000ec47b570,0x00000000ec480000) 179 | to space 4608K, 0% used [0x00000000ebe00000,0x00000000ebe00000,0x00000000ec280000) 180 | ParOldGen total 68608K, used 22991K [0x00000000c0000000, 0x00000000c4300000, 0x00000000eab00000) 181 | object space 68608K, 33% used [0x00000000c0000000,0x00000000c1673f98,0x00000000c4300000) 182 | Metaspace used 44890K, committed 46016K, reserved 1114112K 183 | class space used 4756K, committed 5248K, reserved 1048576K 184 | 185 | Card table byte_map: [0x000002923b250000,0x000002923b460000] _byte_map_base: 0x000002923ac50000 186 | 187 | Marking Bits: (ParMarkBitMap*) 0x00007ff8017a3260 188 | Begin Bits: [0x000002924da90000, 0x000002924ea90000) 189 | End Bits: [0x000002924ea90000, 0x000002924fa90000) 190 | 191 | Polling page: 0x0000029239540000 192 | 193 | Metaspace: 194 | 195 | Usage: 196 | Non-class: 39.19 MB used. 197 | Class: 4.64 MB used. 198 | Both: 43.84 MB used. 199 | 200 | Virtual space: 201 | Non-class space: 64.00 MB reserved, 39.81 MB ( 62%) committed, 1 nodes. 202 | Class space: 1.00 GB reserved, 5.12 MB ( <1%) committed, 1 nodes. 203 | Both: 1.06 GB reserved, 44.94 MB ( 4%) committed. 204 | 205 | Chunk freelists: 206 | Non-Class: 7.59 MB 207 | Class: 10.83 MB 208 | Both: 18.42 MB 209 | 210 | MaxMetaspaceSize: unlimited 211 | CompressedClassSpaceSize: 1.00 GB 212 | Initial GC threshold: 21.00 MB 213 | Current GC threshold: 58.38 MB 214 | CDS: on 215 | - commit_granule_bytes: 65536. 216 | - commit_granule_words: 8192. 217 | - virtual_space_node_default_size: 8388608. 218 | - enlarge_chunks_in_place: 1. 219 | - use_allocation_guard: 0. 220 | 221 | 222 | Internal statistics: 223 | 224 | num_allocs_failed_limit: 6. 225 | num_arena_births: 824. 226 | num_arena_deaths: 14. 227 | num_vsnodes_births: 2. 228 | num_vsnodes_deaths: 0. 229 | num_space_committed: 719. 230 | num_space_uncommitted: 0. 231 | num_chunks_returned_to_freelist: 20. 232 | num_chunks_taken_from_freelist: 2765. 233 | num_chunk_merges: 12. 234 | num_chunk_splits: 1756. 235 | num_chunks_enlarged: 1083. 236 | num_inconsistent_stats: 0. 237 | 238 | CodeHeap 'non-profiled nmethods': size=120000Kb used=2453Kb max_used=2453Kb free=117547Kb 239 | bounds [0x0000029246560000, 0x00000292467d0000, 0x000002924da90000] 240 | CodeHeap 'profiled nmethods': size=120000Kb used=11152Kb max_used=11152Kb free=108847Kb 241 | bounds [0x000002923ea90000, 0x000002923f580000, 0x0000029245fc0000] 242 | CodeHeap 'non-nmethods': size=5760Kb used=1378Kb max_used=1432Kb free=4381Kb 243 | bounds [0x0000029245fc0000, 0x0000029246230000, 0x0000029246560000] 244 | total_blobs=6298 nmethods=5620 adapters=584 245 | compilation: enabled 246 | stopped_count=0, restarted_count=0 247 | full_count=0 248 | 249 | Compilation events (20 events): 250 | Event: 9.527 Thread 0x000002929702bdc0 nmethod 6135 0x000002923f555210 code [0x000002923f555400, 0x000002923f555978] 251 | Event: 9.530 Thread 0x00000292970256d0 nmethod 6002 0x00000292467bd990 code [0x00000292467bdb60, 0x00000292467bdfd8] 252 | Event: 9.530 Thread 0x00000292970256d0 5989 4 java.lang.StringCoding::hasNegatives (16 bytes) 253 | Event: 9.530 Thread 0x00000292970256d0 nmethod 5989 0x00000292467be490 code [0x00000292467be620, 0x00000292467be7d0] 254 | Event: 9.530 Thread 0x00000292970256d0 6119 4 jdk.internal.jimage.BasicImageReader::getString (35 bytes) 255 | Event: 9.531 Thread 0x00000292970256d0 nmethod 6119 0x00000292467be890 code [0x00000292467bea20, 0x00000292467beb30] 256 | Event: 9.531 Thread 0x00000292970256d0 6118 4 jdk.internal.jimage.ImageLocation::getAttribute (44 bytes) 257 | Event: 9.532 Thread 0x00000292970256d0 nmethod 6118 0x00000292467bec90 code [0x00000292467bee20, 0x00000292467bef08] 258 | Event: 9.532 Thread 0x00000292970256d0 6116 4 java.util.stream.Sink$ChainedReference::cancellationRequested (10 bytes) 259 | Event: 9.532 Thread 0x00000292970256d0 nmethod 6116 0x00000292467bf010 code [0x00000292467bf1a0, 0x00000292467bf250] 260 | Event: 9.532 Thread 0x00000292970256d0 6136 4 java.util.ImmutableCollections$ListN::get (7 bytes) 261 | Event: 9.533 Thread 0x00000292970256d0 nmethod 6136 0x00000292467bf310 code [0x00000292467bf4a0, 0x00000292467bf570] 262 | Event: 9.533 Thread 0x00000292970256d0 6095 4 java.util.Spliterators$1Adapter::accept (11 bytes) 263 | Event: 9.533 Thread 0x00000292970256d0 nmethod 6095 0x00000292467bf610 code [0x00000292467bf7a0, 0x00000292467bf848] 264 | Event: 9.533 Thread 0x00000292970256d0 6109 4 jdk.internal.jimage.ImageReader$Node::resolveLink (2 bytes) 265 | Event: 9.533 Thread 0x00000292970256d0 nmethod 6109 0x00000292467bf910 code [0x00000292467bfaa0, 0x00000292467bfb28] 266 | Event: 9.533 Thread 0x00000292970256d0 6033 4 java.util.stream.Sink::begin (1 bytes) 267 | Event: 9.533 Thread 0x00000292970256d0 nmethod 6033 0x00000292467bfc10 code [0x00000292467bfda0, 0x00000292467bfe28] 268 | Event: 9.533 Thread 0x00000292970256d0 6132 4 jdk.internal.misc.Unsafe::weakCompareAndSetInt (11 bytes) 269 | Event: 9.533 Thread 0x00000292970256d0 nmethod 6132 0x00000292467bff10 code [0x00000292467c00a0, 0x00000292467c0138] 270 | 271 | GC Heap History (20 events): 272 | Event: 3.462 GC heap before 273 | {Heap before GC invocations=10 (full 1): 274 | PSYoungGen total 25088K, used 24815K [0x00000000eab00000, 0x00000000ec900000, 0x0000000100000000) 275 | eden space 24064K, 100% used [0x00000000eab00000,0x00000000ec280000,0x00000000ec280000) 276 | from space 1024K, 73% used [0x00000000ec800000,0x00000000ec8bbd68,0x00000000ec900000) 277 | to space 2560K, 0% used [0x00000000ec400000,0x00000000ec400000,0x00000000ec680000) 278 | ParOldGen total 68608K, used 12876K [0x00000000c0000000, 0x00000000c4300000, 0x00000000eab00000) 279 | object space 68608K, 18% used [0x00000000c0000000,0x00000000c0c93320,0x00000000c4300000) 280 | Metaspace used 26039K, committed 26880K, reserved 1114112K 281 | class space used 2471K, committed 2816K, reserved 1048576K 282 | } 283 | Event: 3.463 GC heap after 284 | {Heap after GC invocations=10 (full 1): 285 | PSYoungGen total 26112K, used 2184K [0x00000000eab00000, 0x00000000ec880000, 0x0000000100000000) 286 | eden space 23552K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000ec200000) 287 | from space 2560K, 85% used [0x00000000ec400000,0x00000000ec6222b0,0x00000000ec680000) 288 | to space 2048K, 0% used [0x00000000ec680000,0x00000000ec680000,0x00000000ec880000) 289 | ParOldGen total 68608K, used 12876K [0x00000000c0000000, 0x00000000c4300000, 0x00000000eab00000) 290 | object space 68608K, 18% used [0x00000000c0000000,0x00000000c0c93320,0x00000000c4300000) 291 | Metaspace used 26039K, committed 26880K, reserved 1114112K 292 | class space used 2471K, committed 2816K, reserved 1048576K 293 | } 294 | Event: 3.776 GC heap before 295 | {Heap before GC invocations=11 (full 1): 296 | PSYoungGen total 26112K, used 25736K [0x00000000eab00000, 0x00000000ec880000, 0x0000000100000000) 297 | eden space 23552K, 100% used [0x00000000eab00000,0x00000000ec200000,0x00000000ec200000) 298 | from space 2560K, 85% used [0x00000000ec400000,0x00000000ec6222b0,0x00000000ec680000) 299 | to space 2048K, 0% used [0x00000000ec680000,0x00000000ec680000,0x00000000ec880000) 300 | ParOldGen total 68608K, used 12876K [0x00000000c0000000, 0x00000000c4300000, 0x00000000eab00000) 301 | object space 68608K, 18% used [0x00000000c0000000,0x00000000c0c93320,0x00000000c4300000) 302 | Metaspace used 28734K, committed 29568K, reserved 1114112K 303 | class space used 2729K, committed 3072K, reserved 1048576K 304 | } 305 | Event: 3.778 GC heap after 306 | {Heap after GC invocations=11 (full 1): 307 | PSYoungGen total 25088K, used 2035K [0x00000000eab00000, 0x00000000ec880000, 0x0000000100000000) 308 | eden space 23040K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000ec180000) 309 | from space 2048K, 99% used [0x00000000ec680000,0x00000000ec87ceb0,0x00000000ec880000) 310 | to space 3584K, 0% used [0x00000000ec180000,0x00000000ec180000,0x00000000ec500000) 311 | ParOldGen total 68608K, used 14006K [0x00000000c0000000, 0x00000000c4300000, 0x00000000eab00000) 312 | object space 68608K, 20% used [0x00000000c0000000,0x00000000c0dad8e8,0x00000000c4300000) 313 | Metaspace used 28734K, committed 29568K, reserved 1114112K 314 | class space used 2729K, committed 3072K, reserved 1048576K 315 | } 316 | Event: 3.939 GC heap before 317 | {Heap before GC invocations=12 (full 1): 318 | PSYoungGen total 25088K, used 25075K [0x00000000eab00000, 0x00000000ec880000, 0x0000000100000000) 319 | eden space 23040K, 100% used [0x00000000eab00000,0x00000000ec180000,0x00000000ec180000) 320 | from space 2048K, 99% used [0x00000000ec680000,0x00000000ec87ceb0,0x00000000ec880000) 321 | to space 3584K, 0% used [0x00000000ec180000,0x00000000ec180000,0x00000000ec500000) 322 | ParOldGen total 68608K, used 14006K [0x00000000c0000000, 0x00000000c4300000, 0x00000000eab00000) 323 | object space 68608K, 20% used [0x00000000c0000000,0x00000000c0dad900,0x00000000c4300000) 324 | Metaspace used 31785K, committed 32832K, reserved 1114112K 325 | class space used 3094K, committed 3520K, reserved 1048576K 326 | } 327 | Event: 3.941 GC heap after 328 | {Heap after GC invocations=12 (full 1): 329 | PSYoungGen total 25088K, used 1682K [0x00000000eab00000, 0x00000000ec700000, 0x0000000100000000) 330 | eden space 23040K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000ec180000) 331 | from space 2048K, 82% used [0x00000000ec180000,0x00000000ec324bd0,0x00000000ec380000) 332 | to space 2560K, 0% used [0x00000000ec480000,0x00000000ec480000,0x00000000ec700000) 333 | ParOldGen total 68608K, used 16053K [0x00000000c0000000, 0x00000000c4300000, 0x00000000eab00000) 334 | object space 68608K, 23% used [0x00000000c0000000,0x00000000c0fad7d0,0x00000000c4300000) 335 | Metaspace used 31785K, committed 32832K, reserved 1114112K 336 | class space used 3094K, committed 3520K, reserved 1048576K 337 | } 338 | Event: 4.099 GC heap before 339 | {Heap before GC invocations=13 (full 1): 340 | PSYoungGen total 25088K, used 24722K [0x00000000eab00000, 0x00000000ec700000, 0x0000000100000000) 341 | eden space 23040K, 100% used [0x00000000eab00000,0x00000000ec180000,0x00000000ec180000) 342 | from space 2048K, 82% used [0x00000000ec180000,0x00000000ec324bd0,0x00000000ec380000) 343 | to space 2560K, 0% used [0x00000000ec480000,0x00000000ec480000,0x00000000ec700000) 344 | ParOldGen total 68608K, used 16056K [0x00000000c0000000, 0x00000000c4300000, 0x00000000eab00000) 345 | object space 68608K, 23% used [0x00000000c0000000,0x00000000c0fae270,0x00000000c4300000) 346 | Metaspace used 34728K, committed 35840K, reserved 1114112K 347 | class space used 3487K, committed 3968K, reserved 1048576K 348 | } 349 | Event: 4.102 GC heap after 350 | {Heap after GC invocations=13 (full 1): 351 | PSYoungGen total 24576K, used 1728K [0x00000000eab00000, 0x00000000ec680000, 0x0000000100000000) 352 | eden space 22528K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000ec100000) 353 | from space 2048K, 84% used [0x00000000ec480000,0x00000000ec630000,0x00000000ec680000) 354 | to space 2048K, 0% used [0x00000000ec280000,0x00000000ec280000,0x00000000ec480000) 355 | ParOldGen total 68608K, used 17214K [0x00000000c0000000, 0x00000000c4300000, 0x00000000eab00000) 356 | object space 68608K, 25% used [0x00000000c0000000,0x00000000c10cfa00,0x00000000c4300000) 357 | Metaspace used 34728K, committed 35840K, reserved 1114112K 358 | class space used 3487K, committed 3968K, reserved 1048576K 359 | } 360 | Event: 4.106 GC heap before 361 | {Heap before GC invocations=14 (full 1): 362 | PSYoungGen total 24576K, used 2455K [0x00000000eab00000, 0x00000000ec680000, 0x0000000100000000) 363 | eden space 22528K, 3% used [0x00000000eab00000,0x00000000eabb5cc8,0x00000000ec100000) 364 | from space 2048K, 84% used [0x00000000ec480000,0x00000000ec630000,0x00000000ec680000) 365 | to space 2048K, 0% used [0x00000000ec280000,0x00000000ec280000,0x00000000ec480000) 366 | ParOldGen total 68608K, used 17214K [0x00000000c0000000, 0x00000000c4300000, 0x00000000eab00000) 367 | object space 68608K, 25% used [0x00000000c0000000,0x00000000c10cfa00,0x00000000c4300000) 368 | Metaspace used 34788K, committed 35840K, reserved 1114112K 369 | class space used 3500K, committed 3968K, reserved 1048576K 370 | } 371 | Event: 4.108 GC heap after 372 | {Heap after GC invocations=14 (full 1): 373 | PSYoungGen total 23040K, used 256K [0x00000000eab00000, 0x00000000ec500000, 0x0000000100000000) 374 | eden space 22528K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000ec100000) 375 | from space 512K, 50% used [0x00000000ec280000,0x00000000ec2c0000,0x00000000ec300000) 376 | to space 1024K, 0% used [0x00000000ec400000,0x00000000ec400000,0x00000000ec500000) 377 | ParOldGen total 68608K, used 18774K [0x00000000c0000000, 0x00000000c4300000, 0x00000000eab00000) 378 | object space 68608K, 27% used [0x00000000c0000000,0x00000000c1255a40,0x00000000c4300000) 379 | Metaspace used 34788K, committed 35840K, reserved 1114112K 380 | class space used 3500K, committed 3968K, reserved 1048576K 381 | } 382 | Event: 4.108 GC heap before 383 | {Heap before GC invocations=15 (full 2): 384 | PSYoungGen total 23040K, used 256K [0x00000000eab00000, 0x00000000ec500000, 0x0000000100000000) 385 | eden space 22528K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000ec100000) 386 | from space 512K, 50% used [0x00000000ec280000,0x00000000ec2c0000,0x00000000ec300000) 387 | to space 1024K, 0% used [0x00000000ec400000,0x00000000ec400000,0x00000000ec500000) 388 | ParOldGen total 68608K, used 18774K [0x00000000c0000000, 0x00000000c4300000, 0x00000000eab00000) 389 | object space 68608K, 27% used [0x00000000c0000000,0x00000000c1255a40,0x00000000c4300000) 390 | Metaspace used 34788K, committed 35840K, reserved 1114112K 391 | class space used 3500K, committed 3968K, reserved 1048576K 392 | } 393 | Event: 4.144 GC heap after 394 | {Heap after GC invocations=15 (full 2): 395 | PSYoungGen total 23040K, used 0K [0x00000000eab00000, 0x00000000ec500000, 0x0000000100000000) 396 | eden space 22528K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000ec100000) 397 | from space 512K, 0% used [0x00000000ec280000,0x00000000ec280000,0x00000000ec300000) 398 | to space 1024K, 0% used [0x00000000ec400000,0x00000000ec400000,0x00000000ec500000) 399 | ParOldGen total 68608K, used 18208K [0x00000000c0000000, 0x00000000c4300000, 0x00000000eab00000) 400 | object space 68608K, 26% used [0x00000000c0000000,0x00000000c11c81a8,0x00000000c4300000) 401 | Metaspace used 34788K, committed 35840K, reserved 1114112K 402 | class space used 3500K, committed 3968K, reserved 1048576K 403 | } 404 | Event: 4.331 GC heap before 405 | {Heap before GC invocations=16 (full 2): 406 | PSYoungGen total 23040K, used 22528K [0x00000000eab00000, 0x00000000ec500000, 0x0000000100000000) 407 | eden space 22528K, 100% used [0x00000000eab00000,0x00000000ec100000,0x00000000ec100000) 408 | from space 512K, 0% used [0x00000000ec280000,0x00000000ec280000,0x00000000ec300000) 409 | to space 1024K, 0% used [0x00000000ec400000,0x00000000ec400000,0x00000000ec500000) 410 | ParOldGen total 68608K, used 18208K [0x00000000c0000000, 0x00000000c4300000, 0x00000000eab00000) 411 | object space 68608K, 26% used [0x00000000c0000000,0x00000000c11c81a8,0x00000000c4300000) 412 | Metaspace used 36337K, committed 37440K, reserved 1114112K 413 | class space used 3706K, committed 4224K, reserved 1048576K 414 | } 415 | Event: 4.332 GC heap after 416 | {Heap after GC invocations=16 (full 2): 417 | PSYoungGen total 23040K, used 1024K [0x00000000eab00000, 0x00000000ec500000, 0x0000000100000000) 418 | eden space 22016K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000ec080000) 419 | from space 1024K, 100% used [0x00000000ec400000,0x00000000ec500000,0x00000000ec500000) 420 | to space 1536K, 0% used [0x00000000ec200000,0x00000000ec200000,0x00000000ec380000) 421 | ParOldGen total 68608K, used 18385K [0x00000000c0000000, 0x00000000c4300000, 0x00000000eab00000) 422 | object space 68608K, 26% used [0x00000000c0000000,0x00000000c11f4630,0x00000000c4300000) 423 | Metaspace used 36337K, committed 37440K, reserved 1114112K 424 | class space used 3706K, committed 4224K, reserved 1048576K 425 | } 426 | Event: 4.529 GC heap before 427 | {Heap before GC invocations=17 (full 2): 428 | PSYoungGen total 23040K, used 23040K [0x00000000eab00000, 0x00000000ec500000, 0x0000000100000000) 429 | eden space 22016K, 100% used [0x00000000eab00000,0x00000000ec080000,0x00000000ec080000) 430 | from space 1024K, 100% used [0x00000000ec400000,0x00000000ec500000,0x00000000ec500000) 431 | to space 1536K, 0% used [0x00000000ec200000,0x00000000ec200000,0x00000000ec380000) 432 | ParOldGen total 68608K, used 18385K [0x00000000c0000000, 0x00000000c4300000, 0x00000000eab00000) 433 | object space 68608K, 26% used [0x00000000c0000000,0x00000000c11f4630,0x00000000c4300000) 434 | Metaspace used 38323K, committed 39488K, reserved 1114112K 435 | class space used 3956K, committed 4480K, reserved 1048576K 436 | } 437 | Event: 4.531 GC heap after 438 | {Heap after GC invocations=17 (full 2): 439 | PSYoungGen total 23552K, used 768K [0x00000000eab00000, 0x00000000ec480000, 0x0000000100000000) 440 | eden space 22016K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000ec080000) 441 | from space 1536K, 50% used [0x00000000ec200000,0x00000000ec2c0000,0x00000000ec380000) 442 | to space 1024K, 0% used [0x00000000ec380000,0x00000000ec380000,0x00000000ec480000) 443 | ParOldGen total 68608K, used 19393K [0x00000000c0000000, 0x00000000c4300000, 0x00000000eab00000) 444 | object space 68608K, 28% used [0x00000000c0000000,0x00000000c12f07b8,0x00000000c4300000) 445 | Metaspace used 38323K, committed 39488K, reserved 1114112K 446 | class space used 3956K, committed 4480K, reserved 1048576K 447 | } 448 | Event: 4.865 GC heap before 449 | {Heap before GC invocations=18 (full 2): 450 | PSYoungGen total 23552K, used 22784K [0x00000000eab00000, 0x00000000ec480000, 0x0000000100000000) 451 | eden space 22016K, 100% used [0x00000000eab00000,0x00000000ec080000,0x00000000ec080000) 452 | from space 1536K, 50% used [0x00000000ec200000,0x00000000ec2c0000,0x00000000ec380000) 453 | to space 1024K, 0% used [0x00000000ec380000,0x00000000ec380000,0x00000000ec480000) 454 | ParOldGen total 68608K, used 19393K [0x00000000c0000000, 0x00000000c4300000, 0x00000000eab00000) 455 | object space 68608K, 28% used [0x00000000c0000000,0x00000000c12f07b8,0x00000000c4300000) 456 | Metaspace used 40936K, committed 42112K, reserved 1114112K 457 | class space used 4283K, committed 4800K, reserved 1048576K 458 | } 459 | Event: 4.866 GC heap after 460 | {Heap after GC invocations=18 (full 2): 461 | PSYoungGen total 23040K, used 1024K [0x00000000eab00000, 0x00000000ec480000, 0x0000000100000000) 462 | eden space 22016K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000ec080000) 463 | from space 1024K, 100% used [0x00000000ec380000,0x00000000ec480000,0x00000000ec480000) 464 | to space 2048K, 0% used [0x00000000ec080000,0x00000000ec080000,0x00000000ec280000) 465 | ParOldGen total 68608K, used 20001K [0x00000000c0000000, 0x00000000c4300000, 0x00000000eab00000) 466 | object space 68608K, 29% used [0x00000000c0000000,0x00000000c13887b8,0x00000000c4300000) 467 | Metaspace used 40936K, committed 42112K, reserved 1114112K 468 | class space used 4283K, committed 4800K, reserved 1048576K 469 | } 470 | Event: 7.310 GC heap before 471 | {Heap before GC invocations=19 (full 2): 472 | PSYoungGen total 23040K, used 23040K [0x00000000eab00000, 0x00000000ec480000, 0x0000000100000000) 473 | eden space 22016K, 100% used [0x00000000eab00000,0x00000000ec080000,0x00000000ec080000) 474 | from space 1024K, 100% used [0x00000000ec380000,0x00000000ec480000,0x00000000ec480000) 475 | to space 2048K, 0% used [0x00000000ec080000,0x00000000ec080000,0x00000000ec280000) 476 | ParOldGen total 68608K, used 20001K [0x00000000c0000000, 0x00000000c4300000, 0x00000000eab00000) 477 | object space 68608K, 29% used [0x00000000c0000000,0x00000000c13887b8,0x00000000c4300000) 478 | Metaspace used 43406K, committed 44544K, reserved 1114112K 479 | class space used 4606K, committed 5120K, reserved 1048576K 480 | } 481 | Event: 7.312 GC heap after 482 | {Heap after GC invocations=19 (full 2): 483 | PSYoungGen total 24064K, used 1616K [0x00000000eab00000, 0x00000000ec480000, 0x0000000100000000) 484 | eden space 22016K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000ec080000) 485 | from space 2048K, 78% used [0x00000000ec080000,0x00000000ec214010,0x00000000ec280000) 486 | to space 2048K, 0% used [0x00000000ec280000,0x00000000ec280000,0x00000000ec480000) 487 | ParOldGen total 68608K, used 20961K [0x00000000c0000000, 0x00000000c4300000, 0x00000000eab00000) 488 | object space 68608K, 30% used [0x00000000c0000000,0x00000000c14787b8,0x00000000c4300000) 489 | Metaspace used 43406K, committed 44544K, reserved 1114112K 490 | class space used 4606K, committed 5120K, reserved 1048576K 491 | } 492 | 493 | Dll operation events (10 events): 494 | Event: 0.009 Loaded shared library c:\Users\Subhava Ojha\.vscode\extensions\redhat.java-1.40.0-win32-x64\jre\21.0.6-win32-x86_64\bin\java.dll 495 | Event: 0.073 Loaded shared library c:\Users\Subhava Ojha\.vscode\extensions\redhat.java-1.40.0-win32-x64\jre\21.0.6-win32-x86_64\bin\zip.dll 496 | Event: 0.092 Loaded shared library C:\Users\Subhava Ojha\.vscode\extensions\redhat.java-1.40.0-win32-x64\jre\21.0.6-win32-x86_64\bin\instrument.dll 497 | Event: 0.097 Loaded shared library C:\Users\Subhava Ojha\.vscode\extensions\redhat.java-1.40.0-win32-x64\jre\21.0.6-win32-x86_64\bin\net.dll 498 | Event: 0.099 Loaded shared library C:\Users\Subhava Ojha\.vscode\extensions\redhat.java-1.40.0-win32-x64\jre\21.0.6-win32-x86_64\bin\nio.dll 499 | Event: 0.102 Loaded shared library C:\Users\Subhava Ojha\.vscode\extensions\redhat.java-1.40.0-win32-x64\jre\21.0.6-win32-x86_64\bin\zip.dll 500 | Event: 0.120 Loaded shared library C:\Users\Subhava Ojha\.vscode\extensions\redhat.java-1.40.0-win32-x64\jre\21.0.6-win32-x86_64\bin\jimage.dll 501 | Event: 0.204 Loaded shared library c:\Users\Subhava Ojha\.vscode\extensions\redhat.java-1.40.0-win32-x64\jre\21.0.6-win32-x86_64\bin\verify.dll 502 | Event: 1.303 Loaded shared library C:\Users\Subhava Ojha\AppData\Roaming\Code\User\globalStorage\redhat.java\1.40.0\config_win\org.eclipse.equinox.launcher\org.eclipse.equinox.launcher.win32.win32.x86_64_1.2.1200.v20250212-0927\eclipse_11909.dll 503 | Event: 2.557 Loaded shared library C:\Users\Subhava Ojha\AppData\Local\Temp\jna--1326936240\jna2193632752277191328.dll 504 | 505 | Deoptimization events (20 events): 506 | Event: 7.287 Thread 0x0000029298320500 DEOPT PACKING pc=0x000002924678b9f8 sp=0x000000e57aefd9d0 507 | Event: 7.287 Thread 0x0000029298320500 DEOPT UNPACKING pc=0x0000029246013aa2 sp=0x000000e57aefd8a8 mode 2 508 | Event: 7.288 Thread 0x0000029298320500 Uncommon trap: trap_request=0xffffff45 fr.pc=0x0000029246785444 relative=0x0000000000001c44 509 | Event: 7.288 Thread 0x0000029298320500 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000029246785444 method=sun.nio.cs.StreamDecoder.lockedRead([CII)I @ 165 c2 510 | Event: 7.288 Thread 0x0000029298320500 DEOPT PACKING pc=0x0000029246785444 sp=0x000000e57aefd930 511 | Event: 7.288 Thread 0x0000029298320500 DEOPT UNPACKING pc=0x0000029246013aa2 sp=0x000000e57aefd8a0 mode 2 512 | Event: 7.290 Thread 0x000002929831d080 DEOPT PACKING pc=0x000002923f3a78d6 sp=0x000000e57b2fed40 513 | Event: 7.290 Thread 0x000002929831d080 DEOPT UNPACKING pc=0x0000029246014242 sp=0x000000e57b2fe268 mode 0 514 | Event: 7.295 Thread 0x0000029298320500 Uncommon trap: trap_request=0xffffff45 fr.pc=0x00000292466df398 relative=0x0000000000001cb8 515 | Event: 7.295 Thread 0x0000029298320500 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00000292466df398 method=sun.nio.fs.WindowsPathParser.nextNonSlash(Ljava/lang/String;II)I @ 2 c2 516 | Event: 7.295 Thread 0x0000029298320500 DEOPT PACKING pc=0x00000292466df398 sp=0x000000e57aefd7e0 517 | Event: 7.295 Thread 0x0000029298320500 DEOPT UNPACKING pc=0x0000029246013aa2 sp=0x000000e57aefd770 mode 2 518 | Event: 7.398 Thread 0x000002929831fe70 Uncommon trap: trap_request=0xffffff45 fr.pc=0x00000292465abdb4 relative=0x0000000000000294 519 | Event: 7.398 Thread 0x000002929831fe70 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00000292465abdb4 method=sun.nio.cs.StreamDecoder.lockedRead([CII)I @ 165 c2 520 | Event: 7.398 Thread 0x000002929831fe70 DEOPT PACKING pc=0x00000292465abdb4 sp=0x000000e57affdeb0 521 | Event: 7.398 Thread 0x000002929831fe70 DEOPT UNPACKING pc=0x0000029246013aa2 sp=0x000000e57affde70 mode 2 522 | Event: 7.499 Thread 0x000002929831fe70 Uncommon trap: trap_request=0xffffff45 fr.pc=0x00000292467a9594 relative=0x00000000000064d4 523 | Event: 7.499 Thread 0x000002929831fe70 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00000292467a9594 method=org.eclipse.osgi.internal.loader.ModuleClassLoader.defineClass(Ljava/lang/String;[BLorg/eclipse/osgi/internal/loader/classpath/ClasspathEntry;)Lorg/eclipse/osgi/internal/loa 524 | Event: 7.499 Thread 0x000002929831fe70 DEOPT PACKING pc=0x00000292467a9594 sp=0x000000e57affde40 525 | Event: 7.500 Thread 0x000002929831fe70 DEOPT UNPACKING pc=0x0000029246013aa2 sp=0x000000e57affdda0 mode 2 526 | 527 | Classes loaded (20 events): 528 | Event: 7.431 Loading class java/nio/file/FileVisitOption 529 | Event: 7.431 Loading class java/nio/file/FileVisitOption done 530 | Event: 7.432 Loading class java/nio/file/FileTreeWalker 531 | Event: 7.432 Loading class java/nio/file/FileTreeWalker done 532 | Event: 7.432 Loading class java/util/RegularEnumSet$EnumSetIterator 533 | Event: 7.432 Loading class java/util/RegularEnumSet$EnumSetIterator done 534 | Event: 7.435 Loading class java/nio/ByteBufferAsIntBufferL 535 | Event: 7.435 Loading class java/nio/ByteBufferAsIntBufferL done 536 | Event: 7.439 Loading class jdk/internal/jimage/ImageReader$Directory 537 | Event: 7.439 Loading class jdk/internal/jimage/ImageReader$Directory done 538 | Event: 7.468 Loading class java/nio/file/FileTreeWalker$DirectoryNode 539 | Event: 7.468 Loading class java/nio/file/FileTreeWalker$DirectoryNode done 540 | Event: 7.469 Loading class java/nio/file/FileTreeWalker$Event 541 | Event: 7.469 Loading class java/nio/file/FileTreeWalker$Event done 542 | Event: 7.469 Loading class java/nio/file/FileTreeWalker$EventType 543 | Event: 7.469 Loading class java/nio/file/FileTreeWalker$EventType done 544 | Event: 7.469 Loading class java/nio/file/Files$3 545 | Event: 7.469 Loading class java/nio/file/Files$3 done 546 | Event: 7.469 Loading class java/nio/file/FileVisitResult 547 | Event: 7.469 Loading class java/nio/file/FileVisitResult done 548 | 549 | Classes unloaded (7 events): 550 | Event: 3.161 Thread 0x000002924fc73740 Unloading class 0x0000029251195c00 'java/lang/invoke/LambdaForm$MH+0x0000029251195c00' 551 | Event: 3.161 Thread 0x000002924fc73740 Unloading class 0x0000029251195800 'java/lang/invoke/LambdaForm$MH+0x0000029251195800' 552 | Event: 3.161 Thread 0x000002924fc73740 Unloading class 0x0000029251195400 'java/lang/invoke/LambdaForm$MH+0x0000029251195400' 553 | Event: 3.161 Thread 0x000002924fc73740 Unloading class 0x0000029251195000 'java/lang/invoke/LambdaForm$MH+0x0000029251195000' 554 | Event: 3.161 Thread 0x000002924fc73740 Unloading class 0x0000029251194c00 'java/lang/invoke/LambdaForm$BMH+0x0000029251194c00' 555 | Event: 3.161 Thread 0x000002924fc73740 Unloading class 0x0000029251194800 'java/lang/invoke/LambdaForm$DMH+0x0000029251194800' 556 | Event: 3.161 Thread 0x000002924fc73740 Unloading class 0x0000029251193400 'java/lang/invoke/LambdaForm$DMH+0x0000029251193400' 557 | 558 | Classes redefined (0 events): 559 | No events 560 | 561 | Internal exceptions (20 events): 562 | Event: 4.236 Thread 0x0000029298320b90 Exception (0x00000000eb5be678) 563 | thrown [s\src\hotspot\share\classfile\systemDictionary.cpp, line 301] 564 | Event: 4.792 Thread 0x0000029298320b90 Exception (0x00000000ebc8a360) 565 | thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 773] 566 | Event: 4.796 Thread 0x0000029298320b90 Exception (0x00000000ebcbf418) 567 | thrown [s\src\hotspot\share\oops\instanceKlass.cpp, line 1220] 568 | Event: 4.827 Thread 0x0000029298320b90 Implicit null exception at 0x00000292466a4afe to 0x00000292466a4d70 569 | Event: 4.827 Thread 0x0000029298320b90 Implicit null exception at 0x0000029246605c9c to 0x0000029246606b78 570 | Event: 4.831 Thread 0x0000029298320b90 Exception (0x00000000ebe43ae8) 571 | thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 773] 572 | Event: 5.045 Thread 0x0000029298320b90 Exception (0x00000000eb52c118) 573 | thrown [s\src\hotspot\share\classfile\systemDictionary.cpp, line 301] 574 | Event: 7.312 Thread 0x0000029298320500 Exception (0x00000000eab009a0) 575 | thrown [s\src\hotspot\share\prims\jni.cpp, line 520] 576 | Event: 7.312 Thread 0x0000029298320500 Exception (0x00000000eab00fe8) 577 | thrown [s\src\hotspot\share\prims\jni.cpp, line 520] 578 | Event: 7.313 Thread 0x0000029298320500 Exception (0x00000000eab01908) 579 | thrown [s\src\hotspot\share\prims\jni.cpp, line 520] 580 | Event: 7.313 Thread 0x0000029298320500 Exception (0x00000000eab01f38) 581 | thrown [s\src\hotspot\share\prims\jni.cpp, line 520] 582 | Event: 7.316 Thread 0x0000029298320500 Exception (0x00000000eab18ae0) 583 | thrown [s\src\hotspot\share\prims\jni.cpp, line 520] 584 | Event: 7.316 Thread 0x0000029298320500 Exception (0x00000000eab19110) 585 | thrown [s\src\hotspot\share\prims\jni.cpp, line 520] 586 | Event: 7.319 Thread 0x0000029298320500 Exception (0x00000000eab2c858) 587 | thrown [s\src\hotspot\share\prims\jni.cpp, line 520] 588 | Event: 7.319 Thread 0x0000029298320500 Exception (0x00000000eab2ce88) 589 | thrown [s\src\hotspot\share\prims\jni.cpp, line 520] 590 | Event: 7.322 Thread 0x0000029298320500 Exception (0x00000000eab42700) 591 | thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 773] 592 | Event: 7.337 Thread 0x0000029298320500 Exception (0x00000000eabae4e8) 593 | thrown [s\src\hotspot\share\prims\jni.cpp, line 520] 594 | Event: 7.344 Thread 0x0000029298320500 Exception (0x00000000eabcc500) 595 | thrown [s\src\hotspot\share\prims\jni.cpp, line 520] 596 | Event: 7.422 Thread 0x000002929831fe70 Exception (0x00000000eb07b9e8) 597 | thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 773] 598 | Event: 7.508 Thread 0x0000029298320500 Exception (0x00000000eb753130) 599 | thrown [s\src\hotspot\share\interpreter\linkResolver.cpp, line 773] 600 | 601 | ZGC Phase Switch (0 events): 602 | No events 603 | 604 | VM Operations (20 events): 605 | Event: 5.107 Executing VM operation: HandshakeAllThreads (Deoptimize) 606 | Event: 5.107 Executing VM operation: HandshakeAllThreads (Deoptimize) done 607 | Event: 5.107 Executing VM operation: HandshakeAllThreads (Deoptimize) 608 | Event: 5.107 Executing VM operation: HandshakeAllThreads (Deoptimize) done 609 | Event: 6.115 Executing VM operation: Cleanup 610 | Event: 7.200 Executing VM operation: Cleanup done 611 | Event: 7.309 Executing VM operation: ParallelGCFailedAllocation (Allocation Failure) 612 | Event: 7.312 Executing VM operation: ParallelGCFailedAllocation (Allocation Failure) done 613 | Event: 7.408 Executing VM operation: HandshakeAllThreads (Deoptimize) 614 | Event: 7.408 Executing VM operation: HandshakeAllThreads (Deoptimize) done 615 | Event: 7.437 Executing VM operation: HandshakeAllThreads (Deoptimize) 616 | Event: 7.437 Executing VM operation: HandshakeAllThreads (Deoptimize) done 617 | Event: 7.438 Executing VM operation: HandshakeAllThreads (Deoptimize) 618 | Event: 7.438 Executing VM operation: HandshakeAllThreads (Deoptimize) done 619 | Event: 7.468 Executing VM operation: HandshakeAllThreads (Deoptimize) 620 | Event: 7.468 Executing VM operation: HandshakeAllThreads (Deoptimize) done 621 | Event: 8.467 Executing VM operation: Cleanup 622 | Event: 8.509 Executing VM operation: Cleanup done 623 | Event: 9.525 Executing VM operation: Cleanup 624 | Event: 9.525 Executing VM operation: Cleanup done 625 | 626 | Memory protections (0 events): 627 | No events 628 | 629 | Nmethod flushes (20 events): 630 | Event: 4.125 Thread 0x000002924fc73740 flushing nmethod 0x000002923f0d3f90 631 | Event: 4.125 Thread 0x000002924fc73740 flushing nmethod 0x000002923f0d4f90 632 | Event: 4.125 Thread 0x000002924fc73740 flushing nmethod 0x000002923f105790 633 | Event: 4.125 Thread 0x000002924fc73740 flushing nmethod 0x000002923f105b90 634 | Event: 4.125 Thread 0x000002924fc73740 flushing nmethod 0x000002923f106490 635 | Event: 4.125 Thread 0x000002924fc73740 flushing nmethod 0x000002923f107690 636 | Event: 4.125 Thread 0x000002924fc73740 flushing nmethod 0x000002923f107e90 637 | Event: 4.125 Thread 0x000002924fc73740 flushing nmethod 0x000002923f108610 638 | Event: 4.125 Thread 0x000002924fc73740 flushing nmethod 0x000002923f109b90 639 | Event: 4.125 Thread 0x000002924fc73740 flushing nmethod 0x000002923f10a710 640 | Event: 4.125 Thread 0x000002924fc73740 flushing nmethod 0x000002923f10b510 641 | Event: 4.125 Thread 0x000002924fc73740 flushing nmethod 0x000002923f10c210 642 | Event: 4.125 Thread 0x000002924fc73740 flushing nmethod 0x000002923f10c610 643 | Event: 4.125 Thread 0x000002924fc73740 flushing nmethod 0x000002923f10ca90 644 | Event: 4.125 Thread 0x000002924fc73740 flushing nmethod 0x000002923f116790 645 | Event: 4.125 Thread 0x000002924fc73740 flushing nmethod 0x000002923f11e690 646 | Event: 4.125 Thread 0x000002924fc73740 flushing nmethod 0x000002923f159010 647 | Event: 4.125 Thread 0x000002924fc73740 flushing nmethod 0x000002923f159310 648 | Event: 4.125 Thread 0x000002924fc73740 flushing nmethod 0x000002923f197d90 649 | Event: 4.125 Thread 0x000002924fc73740 flushing nmethod 0x000002923f204990 650 | 651 | Events (20 events): 652 | Event: 3.876 Thread 0x000002929831d080 Thread added: 0x0000029298320b90 653 | Event: 3.899 Thread 0x000002923b89a650 Thread added: 0x000002929831d710 654 | Event: 3.900 Thread 0x000002923b89a650 Thread added: 0x0000029298321220 655 | Event: 3.900 Thread 0x000002923b89a650 Thread added: 0x000002929831dda0 656 | Event: 3.900 Thread 0x000002923b89a650 Thread added: 0x0000029298323980 657 | Event: 3.900 Thread 0x000002923b89a650 Thread added: 0x00000292983232f0 658 | Event: 3.900 Thread 0x000002923b89a650 Thread added: 0x0000029298321f40 659 | Event: 3.901 Thread 0x000002923b89a650 Thread added: 0x0000029298324010 660 | Event: 3.901 Thread 0x000002923b89a650 Thread added: 0x00000292983218b0 661 | Event: 3.901 Thread 0x000002923b89a650 Thread added: 0x00000292983225d0 662 | Event: 3.901 Thread 0x000002923b89a650 Thread added: 0x00000292983246a0 663 | Event: 3.901 Thread 0x000002923b89a650 Thread added: 0x0000029298322c60 664 | Event: 3.901 Thread 0x000002923b89a650 Thread added: 0x00000292995065d0 665 | Event: 3.901 Thread 0x000002923b89a650 Thread added: 0x00000292995072f0 666 | Event: 3.934 Thread 0x000002923b89a650 Thread added: 0x0000029299507980 667 | Event: 4.078 Thread 0x000002923b89a650 Thread added: 0x0000029299508010 668 | Event: 4.079 Thread 0x000002923b89a650 Thread added: 0x00000292995086a0 669 | Event: 4.390 Thread 0x000002929831f150 Thread added: 0x0000029299505f40 670 | Event: 7.203 Thread 0x000002929702bdc0 Thread added: 0x000002929a475830 671 | Event: 8.509 Thread 0x000002929831e430 Thread exited: 0x000002929831e430 672 | 673 | 674 | Dynamic libraries: 675 | 0x00007ff6a4ed0000 - 0x00007ff6a4ede000 c:\Users\Subhava Ojha\.vscode\extensions\redhat.java-1.40.0-win32-x64\jre\21.0.6-win32-x86_64\bin\java.exe 676 | 0x00007ff8ad8c0000 - 0x00007ff8adb23000 C:\WINDOWS\SYSTEM32\ntdll.dll 677 | 0x00007ff8ac330000 - 0x00007ff8ac3f7000 C:\WINDOWS\System32\KERNEL32.DLL 678 | 0x00007ff8aad90000 - 0x00007ff8ab157000 C:\WINDOWS\System32\KERNELBASE.dll 679 | 0x00007ff8ab350000 - 0x00007ff8ab49c000 C:\WINDOWS\System32\ucrtbase.dll 680 | 0x00007ff8786e0000 - 0x00007ff8786fe000 c:\Users\Subhava Ojha\.vscode\extensions\redhat.java-1.40.0-win32-x64\jre\21.0.6-win32-x86_64\bin\VCRUNTIME140.dll 681 | 0x00007ff87a9f0000 - 0x00007ff87aa08000 c:\Users\Subhava Ojha\.vscode\extensions\redhat.java-1.40.0-win32-x64\jre\21.0.6-win32-x86_64\bin\jli.dll 682 | 0x00007ff8ad390000 - 0x00007ff8ad559000 C:\WINDOWS\System32\USER32.dll 683 | 0x00007ff8a9ed0000 - 0x00007ff8aa160000 C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.26100.3037_none_3e09262ce333c378\COMCTL32.dll 684 | 0x00007ff8ab4a0000 - 0x00007ff8ab4c7000 C:\WINDOWS\System32\win32u.dll 685 | 0x00007ff8ad560000 - 0x00007ff8ad609000 C:\WINDOWS\System32\msvcrt.dll 686 | 0x00007ff8aca00000 - 0x00007ff8aca2a000 C:\WINDOWS\System32\GDI32.dll 687 | 0x00007ff8ab220000 - 0x00007ff8ab34b000 C:\WINDOWS\System32\gdi32full.dll 688 | 0x00007ff8ab650000 - 0x00007ff8ab6f3000 C:\WINDOWS\System32\msvcp_win.dll 689 | 0x00007ff8ab7b0000 - 0x00007ff8ab7df000 C:\WINDOWS\System32\IMM32.DLL 690 | 0x00007ff886c10000 - 0x00007ff886c1c000 c:\Users\Subhava Ojha\.vscode\extensions\redhat.java-1.40.0-win32-x64\jre\21.0.6-win32-x86_64\bin\vcruntime140_1.dll 691 | 0x00007ff862fc0000 - 0x00007ff86304d000 c:\Users\Subhava Ojha\.vscode\extensions\redhat.java-1.40.0-win32-x64\jre\21.0.6-win32-x86_64\bin\msvcp140.dll 692 | 0x00007ff800af0000 - 0x00007ff801880000 c:\Users\Subhava Ojha\.vscode\extensions\redhat.java-1.40.0-win32-x64\jre\21.0.6-win32-x86_64\bin\server\jvm.dll 693 | 0x00007ff8ac270000 - 0x00007ff8ac324000 C:\WINDOWS\System32\ADVAPI32.dll 694 | 0x00007ff8ac790000 - 0x00007ff8ac836000 C:\WINDOWS\System32\sechost.dll 695 | 0x00007ff8ac050000 - 0x00007ff8ac166000 C:\WINDOWS\System32\RPCRT4.dll 696 | 0x00007ff8ad310000 - 0x00007ff8ad384000 C:\WINDOWS\System32\WS2_32.dll 697 | 0x00007ff8aa4d0000 - 0x00007ff8aa51e000 C:\WINDOWS\SYSTEM32\POWRPROF.dll 698 | 0x00007ff8a2e50000 - 0x00007ff8a2e5b000 C:\WINDOWS\SYSTEM32\VERSION.dll 699 | 0x00007ff8a2780000 - 0x00007ff8a27b6000 C:\WINDOWS\SYSTEM32\WINMM.dll 700 | 0x00007ff8aa370000 - 0x00007ff8aa384000 C:\WINDOWS\SYSTEM32\UMPDC.dll 701 | 0x00007ff8a91d0000 - 0x00007ff8a91ea000 C:\WINDOWS\SYSTEM32\kernel.appcore.dll 702 | 0x00007ff880190000 - 0x00007ff88019a000 c:\Users\Subhava Ojha\.vscode\extensions\redhat.java-1.40.0-win32-x64\jre\21.0.6-win32-x86_64\bin\jimage.dll 703 | 0x00007ff8aa550000 - 0x00007ff8aa791000 C:\WINDOWS\SYSTEM32\DBGHELP.DLL 704 | 0x00007ff8ac400000 - 0x00007ff8ac77e000 C:\WINDOWS\System32\combase.dll 705 | 0x00007ff8ac8a0000 - 0x00007ff8ac976000 C:\WINDOWS\System32\OLEAUT32.dll 706 | 0x00007ff862ef0000 - 0x00007ff862f29000 C:\WINDOWS\SYSTEM32\dbgcore.DLL 707 | 0x00007ff8aac60000 - 0x00007ff8aacf9000 C:\WINDOWS\System32\bcryptPrimitives.dll 708 | 0x00007ff87efd0000 - 0x00007ff87efdf000 c:\Users\Subhava Ojha\.vscode\extensions\redhat.java-1.40.0-win32-x64\jre\21.0.6-win32-x86_64\bin\instrument.dll 709 | 0x00007ff8761f0000 - 0x00007ff87620f000 c:\Users\Subhava Ojha\.vscode\extensions\redhat.java-1.40.0-win32-x64\jre\21.0.6-win32-x86_64\bin\java.dll 710 | 0x00007ff8acc00000 - 0x00007ff8ad304000 C:\WINDOWS\System32\SHELL32.dll 711 | 0x00007ff8a8060000 - 0x00007ff8a8897000 C:\WINDOWS\SYSTEM32\windows.storage.dll 712 | 0x00007ff8abc80000 - 0x00007ff8abd69000 C:\WINDOWS\System32\SHCORE.dll 713 | 0x00007ff8ab750000 - 0x00007ff8ab7ad000 C:\WINDOWS\System32\shlwapi.dll 714 | 0x00007ff8aab70000 - 0x00007ff8aab9e000 C:\WINDOWS\SYSTEM32\profapi.dll 715 | 0x00007ff872b70000 - 0x00007ff872b88000 c:\Users\Subhava Ojha\.vscode\extensions\redhat.java-1.40.0-win32-x64\jre\21.0.6-win32-x86_64\bin\zip.dll 716 | 0x00007ff87ecc0000 - 0x00007ff87ecd0000 C:\Users\Subhava Ojha\.vscode\extensions\redhat.java-1.40.0-win32-x64\jre\21.0.6-win32-x86_64\bin\net.dll 717 | 0x00007ff8a3710000 - 0x00007ff8a382e000 C:\WINDOWS\SYSTEM32\WINHTTP.dll 718 | 0x00007ff8a9740000 - 0x00007ff8a97aa000 C:\WINDOWS\system32\mswsock.dll 719 | 0x00007ff873280000 - 0x00007ff873296000 C:\Users\Subhava Ojha\.vscode\extensions\redhat.java-1.40.0-win32-x64\jre\21.0.6-win32-x86_64\bin\nio.dll 720 | 0x00007ff87e470000 - 0x00007ff87e480000 c:\Users\Subhava Ojha\.vscode\extensions\redhat.java-1.40.0-win32-x64\jre\21.0.6-win32-x86_64\bin\verify.dll 721 | 0x00007ff864810000 - 0x00007ff864855000 C:\Users\Subhava Ojha\AppData\Roaming\Code\User\globalStorage\redhat.java\1.40.0\config_win\org.eclipse.equinox.launcher\org.eclipse.equinox.launcher.win32.win32.x86_64_1.2.1200.v20250212-0927\eclipse_11909.dll 722 | 0x00007ff8ad640000 - 0x00007ff8ad7d5000 C:\WINDOWS\System32\ole32.dll 723 | 0x00007ff8aa8a0000 - 0x00007ff8aa8bc000 C:\WINDOWS\SYSTEM32\CRYPTSP.dll 724 | 0x00007ff8a9310000 - 0x00007ff8a9348000 C:\WINDOWS\system32\rsaenh.dll 725 | 0x00007ff8a9960000 - 0x00007ff8a998b000 C:\WINDOWS\SYSTEM32\USERENV.dll 726 | 0x00007ff8aa3d0000 - 0x00007ff8aa3f6000 C:\WINDOWS\SYSTEM32\bcrypt.dll 727 | 0x00007ff8a9c70000 - 0x00007ff8a9c7c000 C:\WINDOWS\SYSTEM32\CRYPTBASE.dll 728 | 0x00007ff8a8c60000 - 0x00007ff8a8c92000 C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL 729 | 0x00007ff8ad870000 - 0x00007ff8ad87a000 C:\WINDOWS\System32\NSI.dll 730 | 0x00007ff862b80000 - 0x00007ff862bc9000 C:\Users\Subhava Ojha\AppData\Local\Temp\jna--1326936240\jna2193632752277191328.dll 731 | 0x00007ff8ad610000 - 0x00007ff8ad618000 C:\WINDOWS\System32\PSAPI.DLL 732 | 0x00007ff8a4a20000 - 0x00007ff8a4a3f000 C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL 733 | 0x00007ff8a49f0000 - 0x00007ff8a4a15000 C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL 734 | 735 | dbghelp: loaded successfully - version: 4.0.5 - missing functions: none 736 | symbol engine: initialized successfully - sym options: 0x614 - pdb path: .;c:\Users\Subhava Ojha\.vscode\extensions\redhat.java-1.40.0-win32-x64\jre\21.0.6-win32-x86_64\bin;C:\WINDOWS\SYSTEM32;C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.26100.3037_none_3e09262ce333c378;c:\Users\Subhava Ojha\.vscode\extensions\redhat.java-1.40.0-win32-x64\jre\21.0.6-win32-x86_64\bin\server;C:\Users\Subhava Ojha\AppData\Roaming\Code\User\globalStorage\redhat.java\1.40.0\config_win\org.eclipse.equinox.launcher\org.eclipse.equinox.launcher.win32.win32.x86_64_1.2.1200.v20250212-0927;C:\Users\Subhava Ojha\AppData\Local\Temp\jna--1326936240 737 | 738 | VM Arguments: 739 | jvm_args: --add-modules=ALL-SYSTEM --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/sun.nio.fs=ALL-UNNAMED -Declipse.application=org.eclipse.jdt.ls.core.id1 -Dosgi.bundles.defaultStartLevel=4 -Declipse.product=org.eclipse.jdt.ls.core.product -Djava.import.generatesMetadataFilesAtProjectRoot=false -DDetectVMInstallationsJob.disabled=true -Dfile.encoding=utf8 -XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m -Xlog:disable -javaagent:c:\Users\Subhava Ojha\.vscode\extensions\redhat.java-1.40.0-win32-x64\lombok\lombok-1.18.36.jar -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=c:\Users\Subhava Ojha\AppData\Roaming\Code\User\workspaceStorage\3e79f674797deebcb5f66463768f23eb\redhat.java -Daether.dependencyCollector.impl=bf 740 | java_command: c:\Users\Subhava Ojha\.vscode\extensions\redhat.java-1.40.0-win32-x64\server\plugins\org.eclipse.equinox.launcher_1.6.1000.v20250131-0606.jar -configuration c:\Users\Subhava Ojha\AppData\Roaming\Code\User\globalStorage\redhat.java\1.40.0\config_win -data c:\Users\Subhava Ojha\AppData\Roaming\Code\User\workspaceStorage\3e79f674797deebcb5f66463768f23eb\redhat.java\jdt_ws --pipe=\\.\pipe\lsp-f149cedb92a43c796c4692409dc0fc56-sock 741 | java_class_path (initial): c:\Users\Subhava Ojha\.vscode\extensions\redhat.java-1.40.0-win32-x64\server\plugins\org.eclipse.equinox.launcher_1.6.1000.v20250131-0606.jar 742 | Launcher Type: SUN_STANDARD 743 | 744 | [Global flags] 745 | uintx AdaptiveSizePolicyWeight = 90 {product} {command line} 746 | intx CICompilerCount = 4 {product} {ergonomic} 747 | uintx GCTimeRatio = 4 {product} {command line} 748 | bool HeapDumpOnOutOfMemoryError = true {manageable} {command line} 749 | ccstr HeapDumpPath = c:\Users\Subhava Ojha\AppData\Roaming\Code\User\workspaceStorage\3e79f674797deebcb5f66463768f23eb\redhat.java {manageable} {command line} 750 | size_t InitialHeapSize = 104857600 {product} {command line} 751 | size_t MaxHeapSize = 1073741824 {product} {command line} 752 | size_t MaxNewSize = 357564416 {product} {ergonomic} 753 | size_t MinHeapDeltaBytes = 524288 {product} {ergonomic} 754 | size_t MinHeapSize = 104857600 {product} {command line} 755 | size_t NewSize = 34603008 {product} {ergonomic} 756 | uintx NonNMethodCodeHeapSize = 5839372 {pd product} {ergonomic} 757 | uintx NonProfiledCodeHeapSize = 122909434 {pd product} {ergonomic} 758 | size_t OldSize = 70254592 {product} {ergonomic} 759 | uintx ProfiledCodeHeapSize = 122909434 {pd product} {ergonomic} 760 | uintx ReservedCodeCacheSize = 251658240 {pd product} {ergonomic} 761 | bool SegmentedCodeCache = true {product} {ergonomic} 762 | size_t SoftMaxHeapSize = 1073741824 {manageable} {ergonomic} 763 | bool UseCompressedOops = true {product lp64_product} {ergonomic} 764 | bool UseLargePagesIndividualAllocation = false {pd product} {ergonomic} 765 | bool UseParallelGC = true {product} {command line} 766 | 767 | Logging: 768 | Log output configuration: 769 | #0: stdout all=off uptime,level,tags foldmultilines=false 770 | #1: stderr all=off uptime,level,tags foldmultilines=false 771 | 772 | Environment Variables: 773 | PATH=C:\Program Files\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Android\sdk\platforms;C:\Android\sdk\platform-tools;C:\Program Files\Git\cmd;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Users\Subhava Ojha\AppData\Local\Microsoft\WindowsApps;C:\Users\Subhava Ojha\AppData\Local\Programs\Microsoft VS Code\bin;C:\FlutterDev\sdk\flutter\bin; 774 | USERNAME=Subhava Ojha 775 | OS=Windows_NT 776 | PROCESSOR_IDENTIFIER=AMD64 Family 25 Model 80 Stepping 0, AuthenticAMD 777 | TMP=C:\Users\SUBHAV~1\AppData\Local\Temp 778 | TEMP=C:\Users\SUBHAV~1\AppData\Local\Temp 779 | 780 | 781 | 782 | 783 | Periodic native trim disabled 784 | 785 | --------------- S Y S T E M --------------- 786 | 787 | OS: 788 | Windows 11 , 64 bit Build 26100 (10.0.26100.3037) 789 | OS uptime: 3 days 15:57 hours 790 | Hyper-V role detected 791 | 792 | CPU: total 12 (initial active 12) (12 cores per cpu, 2 threads per core) family 25 model 80 stepping 0 microcode 0xa50000d, cx8, cmov, fxsr, ht, mmx, 3dnowpref, sse, sse2, sse3, ssse3, sse4a, sse4.1, sse4.2, popcnt, lzcnt, tsc, tscinvbit, avx, avx2, aes, erms, clmul, bmi1, bmi2, adx, sha, fma, vzeroupper, clflush, clflushopt, hv, rdtscp, rdpid, fsrm, f16c, cet_ss 793 | Processor Information for processor 0 794 | Max Mhz: 3301, Current Mhz: 1805, Mhz Limit: 3301 795 | Processor Information for processor 1 796 | Max Mhz: 3301, Current Mhz: 3301, Mhz Limit: 3301 797 | Processor Information for processor 2 798 | Max Mhz: 3301, Current Mhz: 3301, Mhz Limit: 3301 799 | Processor Information for processor 3 800 | Max Mhz: 3301, Current Mhz: 1805, Mhz Limit: 3301 801 | Processor Information for processor 4 802 | Max Mhz: 3301, Current Mhz: 3301, Mhz Limit: 3301 803 | Processor Information for processor 5 804 | Max Mhz: 3301, Current Mhz: 1805, Mhz Limit: 3301 805 | Processor Information for processor 6 806 | Max Mhz: 3301, Current Mhz: 3301, Mhz Limit: 3301 807 | Processor Information for processor 7 808 | Max Mhz: 3301, Current Mhz: 1805, Mhz Limit: 3301 809 | Processor Information for processor 8 810 | Max Mhz: 3301, Current Mhz: 3301, Mhz Limit: 3301 811 | Processor Information for processor 9 812 | Max Mhz: 3301, Current Mhz: 1805, Mhz Limit: 3301 813 | Processor Information for processor 10 814 | Max Mhz: 3301, Current Mhz: 1805, Mhz Limit: 3301 815 | Processor Information for processor 11 816 | Max Mhz: 3301, Current Mhz: 3301, Mhz Limit: 3301 817 | 818 | Memory: 4k page, system-wide physical 15773M (640M free) 819 | TotalPageFile size 17821M (AvailPageFile size 34M) 820 | current process WorkingSet (physical memory assigned to process): 237M, peak: 237M 821 | current process commit charge ("private bytes"): 331M, peak: 331M 822 | 823 | vm_info: OpenJDK 64-Bit Server VM (21.0.6+7-LTS) for windows-amd64 JRE (21.0.6+7-LTS), built on 2025-01-21T00:00:00Z by "admin" with MS VC++ 17.7 (VS2022) 824 | 825 | END. 826 | --------------------------------------------------------------------------------