<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[ZiYueD的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/ZiYueD</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; ZiYueD]]></copyright><item><title><![CDATA[Linux基础]]></title><link>https://blog.youkuaiyun.com/ZiYueD/article/details/132220959</link><guid>https://blog.youkuaiyun.com/ZiYueD/article/details/132220959</guid><author>ZiYueD</author><pubDate>Wed, 16 Aug 2023 09:18:06 +0800</pubDate><description><![CDATA[Linux基础入门]]></description><category></category></item><item><title><![CDATA[Docker图解版入门]]></title><link>https://blog.youkuaiyun.com/ZiYueD/article/details/131952419</link><guid>https://blog.youkuaiyun.com/ZiYueD/article/details/131952419</guid><author>ZiYueD</author><pubDate>Thu, 27 Jul 2023 09:28:57 +0800</pubDate><description><![CDATA[DocKe图解版]]></description><category></category></item><item><title><![CDATA[Git命令及分支操作]]></title><link>https://blog.youkuaiyun.com/ZiYueD/article/details/130103208</link><guid>https://blog.youkuaiyun.com/ZiYueD/article/details/130103208</guid><author>ZiYueD</author><pubDate>Wed, 12 Apr 2023 11:35:26 +0800</pubDate><description><![CDATA[git merge 分支名	把指定的分支合并到当前分支上。git checkout 分支名	切换分支。git branch 分支名	创建分支。git branch -v	查看分支。Git命令及分支操作。]]></description><category></category></item><item><title><![CDATA[定时语法生成（有手就会）]]></title><link>https://blog.youkuaiyun.com/ZiYueD/article/details/126741681</link><guid>https://blog.youkuaiyun.com/ZiYueD/article/details/126741681</guid><author>ZiYueD</author><pubDate>Wed, 07 Sep 2022 11:14:50 +0800</pubDate><description><![CDATA[定时语法生成（有手就会）]]></description><category></category></item><item><title><![CDATA[mac安装Homebrew ，npm解决各种疑难杂症]]></title><link>https://blog.youkuaiyun.com/ZiYueD/article/details/118765830</link><guid>https://blog.youkuaiyun.com/ZiYueD/article/details/118765830</guid><author>ZiYueD</author><pubDate>Thu, 15 Jul 2021 18:41:50 +0800</pubDate><description><![CDATA[mac安装Homebrew，npm
一、安装Homebrew
大多数失败因为网络问题，所以使用国内地址
终端执行下面命令
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"


重启终端后使用brew -v查看版本号确认是否安装成功
二、安装node
brew install node

安装后使用node -v,npm -v确认安装成功
三、npm
执行npm install
Home]]></description><category></category></item><item><title><![CDATA[Mac安装SecureCRT]]></title><link>https://blog.youkuaiyun.com/ZiYueD/article/details/118417859</link><guid>https://blog.youkuaiyun.com/ZiYueD/article/details/118417859</guid><author>ZiYueD</author><pubDate>Fri, 02 Jul 2021 16:14:04 +0800</pubDate><description><![CDATA[Mac安装SecureCRT
8.3.1版本
链接:https://pan.baidu.com/s/1ohHunH_OVewF4QuRUzmChQ
密码:mc77
1打开终端，输入如下sudo spctl --master-disable回车，再输入本机密码，再次打开软件就可以了（将安全隐私设置为任何来源）
2如果还打不开显示文件损坏等，在终端输入命令sudo xattr -r -d com.apple.quarantine并将应用程序拖入回车
3打开后，依次点击按钮
–Enter Lincense Dat]]></description><category></category></item><item><title><![CDATA[算法题——（多线程）按序打印]]></title><link>https://blog.youkuaiyun.com/ZiYueD/article/details/117301574</link><guid>https://blog.youkuaiyun.com/ZiYueD/article/details/117301574</guid><author>ZiYueD</author><pubDate>Wed, 26 May 2021 18:53:34 +0800</pubDate><description><![CDATA[每日刷题LeetCode——1114. 按序打印（多线程）
我们提供了一个类：
public class Foo {
  public void first() { print("first"); }
  public void second() { print("second"); }
  public void third() { print("third"); }
}

三个不同的线程 A、B、C 将会共用一个 Foo 实例。
一个将会调用 first() 方法
一个将会调用 second() 方法
]]></description><category></category></item><item><title><![CDATA[算法题——删除链表的倒数第N个节点]]></title><link>https://blog.youkuaiyun.com/ZiYueD/article/details/117230264</link><guid>https://blog.youkuaiyun.com/ZiYueD/article/details/117230264</guid><author>ZiYueD</author><pubDate>Mon, 24 May 2021 19:37:45 +0800</pubDate><description><![CDATA[每日刷题LeetCode——19. 删除链表的倒数第N个节点
给你一个链表，删除链表的倒数第 n 个结点，并且返回链表的头结点。
进阶：你能尝试使用一趟扫描实现吗？

示例 1：
输入：head = [1,2,3,4,5], n = 2
输出：[1,2,3,5]

示例 2：
输入：head = [1], n = 1
输出：[]

示例 3：
输入：head = [1,2], n = 1
输出：[1]

解法1
package com.algorithm;

public class day02 {
   ]]></description><category></category></item><item><title><![CDATA[算法题——前K个高频单词]]></title><link>https://blog.youkuaiyun.com/ZiYueD/article/details/117125796</link><guid>https://blog.youkuaiyun.com/ZiYueD/article/details/117125796</guid><author>ZiYueD</author><pubDate>Fri, 21 May 2021 17:41:31 +0800</pubDate><description><![CDATA[每日刷题LeetCode——692. 前K个高频单词
给一非空的单词列表，返回前 k 个出现次数最多的单词。
返回的答案应该按单词出现频率由高到低排序。如果不同的单词有相同出现频率，按字母顺序排序。
示例 1：
输入: ["i", "love", "leetcode", "i", "love", "coding"], k = 2
输出: ["i", "love"]
解析: "i" 和 "love" 为出现次数最多的两个单词，均为2次。
    注意，按字母顺序 "i" 在 "love" 之前。

示例 2：]]></description><category></category></item><item><title><![CDATA[Mac安装Git并配置到IDEA（超简单）]]></title><link>https://blog.youkuaiyun.com/ZiYueD/article/details/116999826</link><guid>https://blog.youkuaiyun.com/ZiYueD/article/details/116999826</guid><author>ZiYueD</author><pubDate>Tue, 18 May 2021 20:31:54 +0800</pubDate><description><![CDATA[一、安装Git
1、在Mac的终端上输入git检测是否安装git，如果没有，点击弹出的“安装”按钮。
https://git-scm.com/downloads
或者
git

2、安装完成之后，在终端输入 git --version 查看版本信息
git --version

在终端输入 git --version 查看版本信息
3、创建一个全局用户名、全局邮箱作为配置信息
git config --global user.name "your_name"  
git config --global us]]></description><category></category></item><item><title><![CDATA[JVM10——日志分析、参数、纤程]]></title><link>https://blog.youkuaiyun.com/ZiYueD/article/details/115169331</link><guid>https://blog.youkuaiyun.com/ZiYueD/article/details/115169331</guid><author>ZiYueD</author><pubDate>Wed, 28 Apr 2021 10:40:17 +0800</pubDate><description><![CDATA[CMS日志


G1日志



]]></description><category></category></item><item><title><![CDATA[JVM9——G1]]></title><link>https://blog.youkuaiyun.com/ZiYueD/article/details/115161954</link><guid>https://blog.youkuaiyun.com/ZiYueD/article/details/115161954</guid><author>ZiYueD</author><pubDate>Wed, 28 Apr 2021 10:40:07 +0800</pubDate><description><![CDATA[G1


特点


Card table

回收card table的算法CSet

Rset




并发标记算法


漏标（没被标记）



增量更新 CMS使用

SATB  G1使用


]]></description><category></category></item><item><title><![CDATA[JVM8——OOM案例]]></title><link>https://blog.youkuaiyun.com/ZiYueD/article/details/115132140</link><guid>https://blog.youkuaiyun.com/ZiYueD/article/details/115132140</guid><author>ZiYueD</author><pubDate>Wed, 28 Apr 2021 10:39:51 +0800</pubDate><description><![CDATA[]]></description><category></category></item><item><title><![CDATA[JVM7——调优]]></title><link>https://blog.youkuaiyun.com/ZiYueD/article/details/115074101</link><guid>https://blog.youkuaiyun.com/ZiYueD/article/details/115074101</guid><author>ZiYueD</author><pubDate>Wed, 28 Apr 2021 10:38:20 +0800</pubDate><description><![CDATA[YGC ：对新生代堆进行gc。频率比较高，因为大部分对象的存活寿命较短，在新生代里被回收。性能耗费较小。
FGC ：全堆范围的gc。默认堆空间使用到达80%(可调整)的时候会触发fgc。以我们生产环境为例，一般比较少会触发fgc，有时10天或一周左右会有一次。
JVM常用命令行参数

GC日志详情

（了解）
JVM调优

案例1

案例2

如何优化环境


...]]></description><category></category></item><item><title><![CDATA[JVM6——GC]]></title><link>https://blog.youkuaiyun.com/ZiYueD/article/details/115032976</link><guid>https://blog.youkuaiyun.com/ZiYueD/article/details/115032976</guid><author>ZiYueD</author><pubDate>Wed, 28 Apr 2021 10:38:03 +0800</pubDate><description><![CDATA[根对象有哪四个
根可达算法：根据根可以找到的不GC

一、标记清除
第一遍标记，第二遍清除

二、 拷贝算法

三、标记压缩
第一遍标记，第二遍移动






常见的垃圾回收器



多线程清理垃圾


和CMS配合


CMS



...]]></description><category></category></item><item><title><![CDATA[JVM5——体系]]></title><link>https://blog.youkuaiyun.com/ZiYueD/article/details/115023902</link><guid>https://blog.youkuaiyun.com/ZiYueD/article/details/115023902</guid><author>ZiYueD</author><pubDate>Wed, 28 Apr 2021 10:37:53 +0800</pubDate><description><![CDATA[一、JVM体系

二、栈、堆、方法区存储的内容
堆区:
1.存储的全部是对象，每个对象都包含一个与之对应的class的信息。(class的目的是得到操作指令)
2.jvm只有一个堆区(heap)被所有线程共享，堆中不存放基本类型和对象引用，只存放对象本身 。
栈区:
1.每个线程包含一个栈区，栈中只保存基础数据类型的值和对象以及基础数据的引用
2.每个栈中的数据(基础数据类型和对象引用)都是私有的，其他栈不能访问。
3.栈分为3个部分：基本类型变量区、执行环境上下文、操作指令区(存放操作指令)。
方法区:
]]></description><category></category></item><item><title><![CDATA[JVM4——创建对象]]></title><link>https://blog.youkuaiyun.com/ZiYueD/article/details/115013064</link><guid>https://blog.youkuaiyun.com/ZiYueD/article/details/115013064</guid><author>ZiYueD</author><pubDate>Wed, 28 Apr 2021 10:37:26 +0800</pubDate><description><![CDATA[对象头markword 8字节具体内容

对象定位




]]></description><category></category></item><item><title><![CDATA[JVM3——初始化过程]]></title><link>https://blog.youkuaiyun.com/ZiYueD/article/details/114969368</link><guid>https://blog.youkuaiyun.com/ZiYueD/article/details/114969368</guid><author>ZiYueD</author><pubDate>Wed, 28 Apr 2021 10:36:38 +0800</pubDate><description><![CDATA[实例
//父类Animal
class Animal {  
/*8、执行初始化*/  
    private int i = 9;  
    protected int j;  
 
/*7、调用构造方法，创建默认属性和方法，完成后发现自己没有父类*/  
    public Animal() {  
/*9、执行构造方法剩下的内容，结束后回到子类构造函数中*/  
        System.out.println("i = " + i + ", j = " + j);  
        ..]]></description><category></category></item><item><title><![CDATA[JVM2——类加载器]]></title><link>https://blog.youkuaiyun.com/ZiYueD/article/details/114923584</link><guid>https://blog.youkuaiyun.com/ZiYueD/article/details/114923584</guid><author>ZiYueD</author><pubDate>Wed, 28 Apr 2021 10:36:13 +0800</pubDate><description><![CDATA[自定义类加载器
只需重写findClass方法


加密（非掌握）
在类加载器使用异或对二进制码加解密

一句话描述编译与解释
编译 Compile：把整个程序源代码翻译成另外一种代码，然后等待被执行，发生在运行之前，产物是「另一份代码」。
解释 Interpret：把程序源代码一行一行的读懂然后执行，发生在运行时，产物是「运行结果」。

懒加载





...]]></description><category></category></item><item><title><![CDATA[JVM1——基础概念]]></title><link>https://blog.youkuaiyun.com/ZiYueD/article/details/114647935</link><guid>https://blog.youkuaiyun.com/ZiYueD/article/details/114647935</guid><author>ZiYueD</author><pubDate>Wed, 28 Apr 2021 10:35:21 +0800</pubDate><description><![CDATA[JClassLib——IDEA插件之一




加载类为什么双亲委派？
主要为了安全，防止自定义加载（String等）其次防止资源浪费


]]></description><category></category></item></channel></rss>