Skip to content

Instantly share code, notes, and snippets.

View ivankelly's full-sized avatar

Ivan Kelly ivankelly

View GitHub Profile
@shipilev
shipilev / gist:8038826
Last active August 13, 2018 19:35
How to stop tweeting and investigate HotSpot
*** Figuring out what "no vm operation" means here in -XX:+PrintSafepointStatistics:
vmop [threads: total initially_running wait_to_block] [time: spin block sync cleanup vmop] page_trap_count
0.320: Deoptimize [ 7 0 0 ] [ 0 0 0 0 0 ] 0
1.320: no vm operation [ 8 1 1 ] [ 0 0 0 0 0 ] 1
4.061: EnableBiasedLocking [ 8 1 1 ] [ 0 0 0 0 0 ] 1
5.222: RevokeBias [ 8 0 1 ] [ 0 0 0 0 0 ] 0
5.831: RevokeBias [ 8 0 0 ] [ 0 0 0 0 0 ] 0
6.440: RevokeBias [ 8 0 0 ] [ 0 0 0 0 0 ] 0
7.049: RevokeBias
@agaoglu
agaoglu / MockHTable.java
Created October 6, 2010 11:34
MockHTable
/**
* This file is licensed to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance with the
* License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.