Skip to content

Instantly share code, notes, and snippets.

View abhijangda's full-sized avatar

Abhinav Jangda abhijangda

View GitHub Profile
[ubuntu@abhinav /opt/SPEC_CPU2006v1.2]$ runspec --rebuild --tune=base --config=Example-linux64-amd64-gcc43+.cfg --noreportable --iterations=1 perlbench
runspec v6674 - Copyright 1999-2011 Standard Performance Evaluation Corporation
Using 'linux-suse10-amd64' tools
Reading MANIFEST... 22481 files
Loading runspec modules................
Locating benchmarks...found 31 benchmarks in 6 benchsets.
=============================================================================
Warning: You appear to be using one of the config files that is supplied
with the SPEC CPU2006 distribution. This can be a fine way to get started.
Job/Internships:
Research Associate, Department of CSA, Indian Institute of Science Bangalore (June 2016-now)
Working on Polyhedral Compilation Technique with Prof. Uday Reddy B.
Internship at School of Computing Sciences, University of Glasgow (Feb 2016 – March 2016)
Developed techniques to share profile information among different virtual machines over cloud database.
Developed techniques to use the profile information of a previous run of program for reducing warm up times.
Implemented techniques using for JikesRVM and Java Hotspot 8 VM using MongoDB as the database.
Advisor: Dr. Jeremy Singer
int g(int *a, int n)
{
int a[n];
int or = 0;
for (int i = 0; i < n; i++)
{
or |= a[i]
}
25 feb
31 march
4 may
6 june
14 july
7:1457626617623: Enqueue method 22905 to compilation thread
8:1457626617624: Enqueue method 22906 to compilation thread
8:1457626617624: Enqueue method 22907 to compilation thread
8:1457626617624: Enqueue method 22908 to compilation thread
8:1457626617625: Enqueue method 22910 to compilation thread
8:1457626617625: Enqueue method 22911 to compilation thread
8:1457626617625: Enqueue method 22912 to compilation thread
8:1457626617626: Enqueue method 22913 to compilation thread
8:1457626617626: Enqueue method 22914 to compilation thread
8:1457626617626: Enqueue method 22915 to compilation thread
@abhijangda
abhijangda / gist:225987498dc5fd4552d8
Created March 8, 2016 11:02
modified hotspot printcompilation
10329 1 3 java.lang.String::equals(Ljava/lang/Object;)Z (81 bytes)
JNI_createVM
Booting VM in prims/jni.cpp
10659 2 3 java.lang.String::charAt(I)C (29 bytes)
10659 3 3 java.lang.Math::min(II)I (11 bytes)
11778 4 3 java.lang.Object::<init>()V (1 bytes)
11927 5 3 java.lang.String::indexOf(II)I (70 bytes)
11936 6 n 0 java.lang.System::arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V (native) (static)
11937 7 3 java.io.BufferedInputStream::getBufIfOpen()[B (21 bytes)
11937 8 s 3 java.io.BufferedInputStream::read()I (49 bytes)
/* NetworkInterface.java --
Copyright (C) 2002, 2003, 2004, 2005, 2006, 2008 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
package org.jikesrvm.adaptive.database.methodsamples;
import java.util.Vector;
import java.util.concurrent.Semaphore;
import org.bson.Document;
import org.jikesrvm.VM;
import org.jikesrvm.adaptive.controller.Controller;
import org.jikesrvm.classloader.NormalMethod;
import org.jikesrvm.classloader.RVMClass;
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
Benchmark NormalTime MongoTime "Overhead (%)"
avrora 4316 4398 1.89990732159
lusearch 2875 3020 5.04347826087
jython 9892 9873 -0.192074403558
luindex 1771 1891 6.77583286279
xalan 2804 2703 -3.60199714693
pmd 1996 1910 -4.30861723447
sunflow 3503 3601 2.79760205538
  • No Global/Static variables have been used, which means that no thread synchronization is required to add Multithreading for processing several pages at once.
  • The Visitor Design pattern has been used to perform the operation over Page and KeywordParser. This means, to add a functionality for Page and KeywordParser wouldn't require changing there code. A feature can be added easily by just creating a new Visitor amd calling the visit pattern.